mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 18:21:49 +08:00
15 lines
224 B
Plaintext
15 lines
224 B
Plaintext
```md
|
|
<!-- Button.stories.mdx -->
|
|
|
|
import { Meta } from '@storybook/addon-docs';
|
|
|
|
import { Button } from './Button';
|
|
|
|
<Meta
|
|
title="Components/Button"
|
|
parameters={{
|
|
layout: 'centered',
|
|
}}
|
|
component={Button}
|
|
/>
|
|
``` |