storybook/docs/snippets/common/storybook-component-layout-param.mdx.mdx
2021-11-06 03:20:29 +00:00

15 lines
213 B
Plaintext

```md
<!-- Button.stories.mdx -->
import { Meta } from '@storybook/addon-docs';
import { Button } from './Button';
<Meta
title="Button"
parameters={{
layout: 'centered',
}}
component={Button}
/>
```