Lewati ke konten

Stepper - React

Stepper

banner-background
import { Stepper } from '@idds/react';
Step 1
2
Step 2
3
Step 3
4
Step 4
Step 1
2
Step 2
3
Step 3
4
Step 4
Step 1
2
Step 2
3
Step 3
4
Step 4

Current Step: 2

NameTypeDefaultRequiredDescription
stepsStepperItem[]YesArray of step items.
currentStepnumberYesIndex step yang sedang aktif (0-indexed).
orientation?'horizontal' | 'vertical''horizontal'NoOrientasi stepper: horizontal atau vertical.
className?stringNoClassName tambahan untuk container.
onStepClick?(stepIndex: number) => voidNoCallback saat step diklik.
errorSteps?number[][]NoArray of step indices yang memiliki status error (0-indexed).