Merge branch 'hn.validator-onboarding' of github.com:nimbus-gui/nimbus-gui into hn.validator-onboarding
This commit is contained in:
commit
86ea319cdf
|
@ -0,0 +1,33 @@
|
|||
import type { Meta, StoryObj } from '@storybook/react'
|
||||
import { withRouter } from 'storybook-addon-react-router-v6'
|
||||
|
||||
import ContinueButton from './ContinueButton'
|
||||
|
||||
const meta = {
|
||||
title: 'ValidatorOnboarding/ContinueButton',
|
||||
component: ContinueButton,
|
||||
parameters: {
|
||||
layout: 'centered',
|
||||
},
|
||||
tags: ['autodocs'],
|
||||
decorators: [withRouter],
|
||||
} satisfies Meta<typeof ContinueButton>
|
||||
|
||||
export default meta
|
||||
type Story = StoryObj<typeof meta>
|
||||
|
||||
export const Default: Story = {
|
||||
args: {
|
||||
continueHandler: () => {},
|
||||
activeStep: 0,
|
||||
isConfirmPhraseStage: false,
|
||||
},
|
||||
}
|
||||
|
||||
export const Disabled: Story = {
|
||||
args: {
|
||||
continueHandler: () => {},
|
||||
activeStep: 0,
|
||||
isConfirmPhraseStage: true,
|
||||
},
|
||||
}
|
Loading…
Reference in New Issue