Stepper
Last updated: 2.1.0 (30/01/2024) | Added: 2.1.0
Usage
import { Stepper, Text } from "@valence-ui/core";
function MyComponent() {
const [currentStep, setCurrentStep] = React.useState(0);
return (
<>
<Stepper
currentStep={currentStep}
>
<Stepper.Step>
<Text size="xl">
Step 1
</Text>
</Stepper.Step>
// Other steps
</Stepper>
</>
)
}Props
StepperProps
Property
Type
Description
StepperIndicatorProps
Property
Type
Description
StepperIndicatorState
StepperStepProps
Last updated