feat: create story for validator page
This commit is contained in:
parent
2439099914
commit
b629168250
|
@ -0,0 +1,22 @@
|
||||||
|
import type { Meta, StoryObj } from '@storybook/react'
|
||||||
|
import { withRouter } from 'storybook-addon-react-router-v6'
|
||||||
|
|
||||||
|
import ValidatorOnboarding from './ValidatorOnboarding'
|
||||||
|
|
||||||
|
const meta = {
|
||||||
|
title: 'Pages/ValidatorOnboarding',
|
||||||
|
component: ValidatorOnboarding,
|
||||||
|
parameters: {
|
||||||
|
layout: 'centered',
|
||||||
|
},
|
||||||
|
tags: ['autodocs'],
|
||||||
|
argTypes: {},
|
||||||
|
decorators: [withRouter],
|
||||||
|
} satisfies Meta<typeof ValidatorOnboarding>
|
||||||
|
|
||||||
|
export default meta
|
||||||
|
type Story = StoryObj<typeof meta>
|
||||||
|
|
||||||
|
export const Page: Story = {
|
||||||
|
args: {},
|
||||||
|
}
|
Loading…
Reference in New Issue