storybook/addons/docs/fixtures/non-story-exports.mdx
2019-06-25 16:13:47 +08:00

17 lines
297 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>
export const two = 2;
<Story name="hello story">
<Button>Hello button</Button>
</Story>