storybook/docs/snippets/common/component-story-mdx-description.mdx.mdx
Norbert de Langen 5d6972902d
try this
2022-06-30 00:48:42 +02:00

19 lines
289 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.
`}/>
```