feat: add form stepper active steps stories

This commit is contained in:
RadoslavDimchev 2023-08-30 14:08:32 +03:00
parent 49bf4c6bba
commit aedda4a9c5
1 changed files with 43 additions and 1 deletions

View File

@ -15,9 +15,51 @@ const meta = {
export default meta
type Story = StoryObj<typeof meta>
export const Stepper: Story = {
export const OverviewActive: Story = {
args: {
activeStep: 0,
changeActiveStep: () => {},
},
}
export const AdvicsoriesActive: Story = {
args: {
activeStep: 1,
changeActiveStep: () => {},
},
}
export const ClientSetupActive: Story = {
args: {
activeStep: 2,
changeActiveStep: () => {},
},
}
export const ValidatorSetupActive: Story = {
args: {
activeStep: 3,
changeActiveStep: () => {},
},
}
export const KeyGenerationActive: Story = {
args: {
activeStep: 4,
changeActiveStep: () => {},
},
}
export const ActivationActive: Story = {
args: {
activeStep: 5,
changeActiveStep: () => {},
},
}
export const NoActiveStep: Story = {
args: {
activeStep: -1,
changeActiveStep: () => {},
},
}