storybook/addons/docs/fixtures/story-definitions.mdx
Michael Shilman 783e56dcee MDX compiler
2019-06-19 10:25:34 +08:00

15 lines
274 B
Plaintext

import { Button } from '@storybook/react/demo';
import { Story, Meta } from '@storybook/addon-docs/blocks';
<Meta title="Button" />
# Story definition
<Story name="one">
<Button>One</Button>
</Story>
<Story name="hello story">
<Button>Hello button</Button>
</Story>