feat(panel-wrapper): create story with examples

This commit is contained in:
RadoslavDimchev 2024-02-20 12:19:42 +02:00 committed by Emil Ivanichkov
parent 1b0d21c2d3
commit c30a643b7b
1 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,26 @@
import type { Meta, StoryObj } from '@storybook/react'
import PanelWrapper from './PanelWrapper'
import MigratePanel from './MigratePanel'
import DepositPanel from './DepositPanel'
const meta = {
title: 'ValidatorManagement/PanelWrapper',
component: PanelWrapper,
tags: ['autodocs'],
} satisfies Meta<typeof PanelWrapper>
export default meta
type Story = StoryObj<typeof meta>
export const WrappedMigratePanel: Story = {
args: {
children: <MigratePanel />,
},
}
export const WrappedDepositPanel: Story = {
args: {
children: <DepositPanel />,
},
}