storybook/docs/snippets/common/component-story-mdx-description.mdx.mdx
2021-08-08 18:33:11 +01:00

19 lines
280 B
Plaintext

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