2022-05-14 14:39:10 +08:00
|
|
|
import React from 'react'
|
|
|
|
import { ComponentStory, ComponentMeta } from '@storybook/react'
|
2022-06-08 00:07:04 +08:00
|
|
|
import Sidebar from './MenuBar'
|
2022-05-14 14:39:10 +08:00
|
|
|
|
|
|
|
export default {
|
2022-05-29 17:53:27 +08:00
|
|
|
title: 'Components/Sidebar',
|
2022-05-14 14:39:10 +08:00
|
|
|
component: Sidebar,
|
|
|
|
} as ComponentMeta<typeof Sidebar>
|
|
|
|
|
|
|
|
const Template: ComponentStory<typeof Sidebar> = args => (
|
|
|
|
<div className='h-[calc(100vh_-_32px)] w-min rounded-l-3xl bg-[#F8F8F8] dark:bg-black'>
|
|
|
|
<Sidebar />
|
|
|
|
</div>
|
|
|
|
)
|
|
|
|
|
2022-05-29 17:53:27 +08:00
|
|
|
export const Default = Template.bind({})
|