feat(panel-content): create story

This commit is contained in:
RadoslavDimchev 2024-04-15 18:10:25 +03:00 committed by Radoslav Dimchev
parent 7b90e3782e
commit 1323499a3f
1 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,30 @@
import type { Meta, StoryObj } from '@storybook/react'
import { withRouter } from 'storybook-addon-react-router-v6'
import PanelContent from './PanelContent'
import MigratePanel from './MigratePanel'
const meta = {
title: 'ManageValidator/PanelContent',
component: PanelContent,
decorators: [withRouter()],
tags: ['autodocs'],
} satisfies Meta<typeof PanelContent>
export default meta
type Story = StoryObj<typeof meta>
export const MigratePanelContent: Story = {
args: {
children: <MigratePanel />,
title: 'Migrate Validator',
},
}
export const MigratePanelModalContent: Story = {
args: {
children: <MigratePanel />,
title: 'Migrate Validator',
isModalWidth: true,
},
}