fbredius/storybook

View on GitHub
docs/snippets/web-components/your-component-with-decorator.js.mdx

Summary

Maintainability
Test Coverage
```js
// your-component.stories.js

import { html } from 'lit-html';

import './your-component';

export default {
  title: 'YourComponent',
  decorators: [(story) => html`<div style="margin: 3em">${story()}</div>`],
}
```