feat: create stories for children of client setup

This commit is contained in:
RadoslavDimchev 2023-08-30 13:22:05 +03:00
parent 0d0412615b
commit 26e4d03961
2 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,24 @@
import type { Meta, StoryObj } from '@storybook/react'
import { withRouter } from 'storybook-addon-react-router-v6'
import SetupRow from './SetupRow'
const meta = {
title: 'ValidatorOnboarding/SetupRow',
component: SetupRow,
parameters: {
layout: 'centered',
},
tags: ['autodocs'],
argTypes: {},
decorators: [withRouter],
} satisfies Meta<typeof SetupRow>
export default meta
type Story = StoryObj<typeof meta>
export const Page: Story = {
args: {
title: 'Setup Row',
},
}

View File

@ -0,0 +1,24 @@
import type { Meta, StoryObj } from '@storybook/react'
import { withRouter } from 'storybook-addon-react-router-v6'
import WithdrawalAddress from './WithdrawalAddress'
const meta = {
title: 'ValidatorOnboarding/WithdrawalAddress',
component: WithdrawalAddress,
parameters: {
layout: 'centered',
},
tags: ['autodocs'],
argTypes: {},
decorators: [withRouter],
} satisfies Meta<typeof WithdrawalAddress>
export default meta
type Story = StoryObj<typeof meta>
export const Page: Story = {
args: {
title: 'Withdrawal Address',
},
}