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

@ -1,13 +1,10 @@
import React from 'react'
import { ComponentStory, ComponentMeta } from '@storybook/react'
import { NowPlaying } from './NowPlaying'
import NowPlaying from './NowPlaying'
export default {
title: 'NowPlaying',
component: NowPlaying,
argTypes: {
backgroundColor: { control: 'color' },
},
parameters: {
viewport: {
defaultViewport: 'iphone8p',
@ -18,7 +15,3 @@ export default {
const Template: ComponentStory<typeof NowPlaying> = args => <NowPlaying />
export const Primary = Template.bind({})
Primary.args = {
primary: true,
label: 'NowPlaying',
}