mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2025-02-28 21:19:47 +08:00
17 lines
437 B
TypeScript
17 lines
437 B
TypeScript
![]() |
import React from 'react'
|
||
|
import { ComponentStory, ComponentMeta } from '@storybook/react'
|
||
|
import Sidebar from './Sidebar'
|
||
|
|
||
|
export default {
|
||
|
title: '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 Primary = Template.bind({})
|