mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2025-03-01 02:09:38 +08:00
17 lines
448 B
TypeScript
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({})
|