mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 07:21:17 +08:00
13 lines
376 B
Plaintext
13 lines
376 B
Plaintext
import { Button } from '@storybook/react/demo';
|
|
import { Story, Meta } from '@storybook/addon-docs/blocks';
|
|
|
|
<Meta title="Button" parameters={{ component: Button, notes: 'component notes' }} />
|
|
|
|
<Story name="component notes">
|
|
<Button>Component notes</Button>
|
|
</Story>
|
|
|
|
<Story name="story notes" parameters={{ notes: 'story notes' }}>
|
|
<Button>Story notes</Button>
|
|
</Story>
|