Files
react-test/docs/data/joy/components/stepper/SizesStepper.tsx
how2ice 005cf56baf
Some checks failed
No response / noResponse (push) Has been cancelled
CI / Continuous releases (push) Has been cancelled
CI / test-dev (macos-latest) (push) Has been cancelled
CI / test-dev (ubuntu-latest) (push) Has been cancelled
CI / test-dev (windows-latest) (push) Has been cancelled
Maintenance / main (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
init project
2025-12-12 14:26:25 +09:00

53 lines
1.5 KiB
TypeScript

import Stepper from '@mui/joy/Stepper';
import Step from '@mui/joy/Step';
import StepIndicator from '@mui/joy/StepIndicator';
import Stack from '@mui/joy/Stack';
export default function SizesStepper() {
return (
<Stack spacing={2} sx={{ width: '100%' }}>
<Stepper size="sm">
<Step
indicator={
<StepIndicator variant="solid" color="neutral">
1
</StepIndicator>
}
>
Order placed
</Step>
<Step indicator={<StepIndicator>2</StepIndicator>}>In review</Step>
<Step indicator={<StepIndicator>3</StepIndicator>}>Approved</Step>
</Stepper>
<Stepper sx={{ width: '100%' }}>
<Step
indicator={
<StepIndicator variant="solid" color="neutral">
1
</StepIndicator>
}
>
Order placed
</Step>
<Step indicator={<StepIndicator>2</StepIndicator>}>In review</Step>
<Step indicator={<StepIndicator>3</StepIndicator>}>Approved</Step>
</Stepper>
<Stepper size="lg" sx={{ width: '100%' }}>
<Step
indicator={
<StepIndicator variant="solid" color="neutral">
1
</StepIndicator>
}
>
Order placed
</Step>
<Step indicator={<StepIndicator>2</StepIndicator>}>In review</Step>
<Step indicator={<StepIndicator>3</StepIndicator>}>Approved</Step>
</Stepper>
</Stack>
);
}