storybook/docs/snippets/vue/your-component-with-decorator.js.mdx
2021-02-23 00:26:03 +00:00

8 lines
168 B
Plaintext

```js
// YourComponent.stories.js
export default {
component: YourComponent,
decorators: [() => ({ template: '<div style="margin: 3em;"><story/></div>' })],
};
```