mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 08:11:53 +08:00
12 lines
252 B
Plaintext
12 lines
252 B
Plaintext
```md
|
|
<!-- YourComponent.stories.mdx -->
|
|
|
|
import { Story } from '@storybook/addon-docs';
|
|
|
|
import MarginDecorator from './MarginDecorator.svelte';
|
|
|
|
<Meta
|
|
title="YourComponent"
|
|
component={YourComponent}
|
|
decorators={[() => MarginDecorator]}/>
|
|
``` |