Merge branch 'hn.validator-onboarding' of github.com:nimbus-gui/nimbus-gui into hn.validator-onboarding

This commit is contained in:
Rickard Andersson 2023-09-07 15:57:49 +03:00
commit 86ea319cdf
1 changed files with 33 additions and 0 deletions

View File

@ -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,
},
}