feat(dashboard): create story
This commit is contained in:
parent
c50ab4c8b2
commit
9db8ed7642
|
@ -0,0 +1,19 @@
|
||||||
|
import type { Meta, StoryObj } from '@storybook/react'
|
||||||
|
import { withRouter } from 'storybook-addon-react-router-v6'
|
||||||
|
|
||||||
|
import Dashboard from './Dashboard'
|
||||||
|
|
||||||
|
const meta: Meta = {
|
||||||
|
title: 'Pages/Dashboard',
|
||||||
|
component: Dashboard,
|
||||||
|
decorators: [withRouter()],
|
||||||
|
tags: ['autodocs'],
|
||||||
|
}
|
||||||
|
|
||||||
|
export default meta
|
||||||
|
|
||||||
|
type DashboardStory = StoryObj<typeof Dashboard>
|
||||||
|
|
||||||
|
export const Page: DashboardStory = {
|
||||||
|
args: {},
|
||||||
|
}
|
Loading…
Reference in New Issue