feat(advanced-dropdown-menu): add story
This commit is contained in:
parent
ec4bef977e
commit
d9c72f5f5a
|
@ -0,0 +1,20 @@
|
|||
import type { Meta, StoryObj } from '@storybook/react'
|
||||
import { withRouter } from 'storybook-addon-react-router-v6'
|
||||
|
||||
import AdvancedDropdownMenu from './AdvancedDropdownMenu'
|
||||
|
||||
const meta = {
|
||||
title: 'ManageValidator/AdvancedDropdownMenu',
|
||||
component: AdvancedDropdownMenu,
|
||||
decorators: [withRouter()],
|
||||
tags: ['autodocs'],
|
||||
} satisfies Meta<typeof AdvancedDropdownMenu>
|
||||
|
||||
export default meta
|
||||
type Story = StoryObj<typeof meta>
|
||||
|
||||
export const Default: Story = {
|
||||
args: {
|
||||
title: 'Advanced',
|
||||
},
|
||||
}
|
Loading…
Reference in New Issue