mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-20 05:02:37 +08:00
13 lines
313 B
Plaintext
13 lines
313 B
Plaintext
```md
|
|
<!-- ExampleStory.stories.mdx -->
|
|
|
|
import { Canvas, Meta } from '@storybook/addon-docs';
|
|
|
|
import { ExampleComponent} from './ExampleComponent';
|
|
|
|
<Meta title="SampleComponent" component={ ExampleComponent } />
|
|
|
|
<Canvas columns={2} withSource="open" withToolbar>
|
|
<!-- Your stories go here -->
|
|
</Canvas>
|
|
``` |