feat: 增加一些新组件

This commit is contained in:
qier222 2022-05-14 14:39:10 +08:00
parent 0520af8466
commit e9d82dd792
No known key found for this signature in database
GPG key ID: 9C85007ED905F14D
17 changed files with 124 additions and 256 deletions

View file

@ -0,0 +1,16 @@
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({})