YesPlayMusic/packages/web/components/Topbar.stories.tsx

17 lines
428 B
TypeScript
Raw Normal View History

2022-05-14 14:39:10 +08:00
import React from 'react'
import { ComponentStory, ComponentMeta } from '@storybook/react'
import Topbar from './Topbar'
export default {
title: 'Topbar',
component: Topbar,
} as ComponentMeta<typeof Topbar>
const Template: ComponentStory<typeof Topbar> = args => (
<div className='w-[calc(100vw_-_32px)] rounded-3xl bg-[#F8F8F8] px-11 dark:bg-black'>
<Topbar />
</div>
)
export const Primary = Template.bind({})