Step Progress
보통다단계 진행 표시
라이브 데모
코드
StepProgress.tsx
const steps = ['Step 1', 'Step 2', 'Step 3'];
{steps.map((step, index) => (
<div className={`step ${currentStep >= index ? 'active' : ''}`}>
{step}
</div>
))}다단계 진행 표시
const steps = ['Step 1', 'Step 2', 'Step 3'];
{steps.map((step, index) => (
<div className={`step ${currentStep >= index ? 'active' : ''}`}>
{step}
</div>
))}