YesPlayMusic/packages/web/components/New/Sidebar.stories.tsx
2022-06-08 00:07:04 +08:00

17 lines
448 B
TypeScript

import React from 'react'
import { ComponentStory, ComponentMeta } from '@storybook/react'
import Sidebar from './MenuBar'
export default {
title: 'Components/Sidebar',
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>
)
export const Default = Template.bind({})