mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-08 09:34:40 +00:00
feat: create stories for children of client setup
This commit is contained in:
parent
0d0412615b
commit
26e4d03961
@ -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',
|
||||
},
|
||||
}
|
@ -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',
|
||||
},
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user