mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2025-03-01 02:09:38 +08:00
18 lines
430 B
TypeScript
18 lines
430 B
TypeScript
import React from 'react'
|
|
import { ComponentStory, ComponentMeta } from '@storybook/react'
|
|
import NowPlaying from './NowPlaying'
|
|
|
|
export default {
|
|
title: 'NowPlaying',
|
|
component: NowPlaying,
|
|
parameters: {
|
|
viewport: {
|
|
defaultViewport: 'iphone8p',
|
|
},
|
|
},
|
|
} as ComponentMeta<typeof NowPlaying>
|
|
|
|
const Template: ComponentStory<typeof NowPlaying> = args => <NowPlaying />
|
|
|
|
export const Primary = Template.bind({})
|