mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 05:41:07 +08:00
8 lines
147 B
Plaintext
8 lines
147 B
Plaintext
```js
|
|
// Button.stories.js | Button.stories.ts
|
|
|
|
export const WithLayout = Template.bind({});
|
|
WithLayout.parameters = {
|
|
layout: 'centered',
|
|
};
|
|
``` |