storybook/docs/snippets/vue/your-component-with-decorator.js.mdx
2020-09-17 00:45:45 +02:00

9 lines
169 B
Plaintext

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