storybook/docs/snippets/common/component-story-mdx-description.mdx.mdx
2020-10-07 12:23:34 +08:00

15 lines
287 B
Plaintext

```md
<!--- Button.stories.mdx -->
import { Description } from '@storybook/addon-docs/blocks';
import dedent from 'ts-dedent';
import { Button } from './Button';
<Description of={Button} />
<Description markdown={dedent`
## Custom description
Insert fancy markdown here.
`}/>
```