storybook/docs/snippets/common/storybook-component-layout-param.js.mdx
2021-03-05 16:23:19 +00:00

14 lines
236 B
Plaintext

```js
// Button.stories.js | Button.stories.ts
import Button from './Button';
export default {
title: 'Button',
component: Button,
// Sets the layout parameter component wide.
parameters:{
layout:'centered',
},
};
```