mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2025-02-28 10:44:27 +08:00
17 lines
500 B
TypeScript
17 lines
500 B
TypeScript
import React from 'react'
|
|
import { ComponentStory, ComponentMeta } from '@storybook/react'
|
|
import TrackListHeader from './TrackListHeader'
|
|
|
|
export default {
|
|
title: 'Components/TrackListHeader',
|
|
component: TrackListHeader,
|
|
} as ComponentMeta<typeof TrackListHeader>
|
|
|
|
const Template: ComponentStory<typeof TrackListHeader> = args => (
|
|
<div className='w-[calc(100vw_-_32px)] rounded-24 bg-[#F8F8F8] p-10 dark:bg-black'>
|
|
<TrackListHeader />
|
|
</div>
|
|
)
|
|
|
|
export const Default = Template.bind({})
|