mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 02:01:48 +08:00
- Newline following filename comment - Fix URLs in comments - Ensure consistent usage of `ts` vs `tsx` language
12 lines
231 B
Plaintext
12 lines
231 B
Plaintext
```js
|
|
// YourComponent.stories.js
|
|
|
|
import { html } from 'lit-html';
|
|
|
|
export default {
|
|
title: 'YourComponent',
|
|
component: 'demo-your-component',
|
|
decorators: [(story) => html`<div style="margin: 3em">${story()}</div>`],
|
|
};
|
|
```
|