Last active
August 21, 2019 15:48
-
-
Save shilman/24ff597c4457054d6166053958e58164 to your computer and use it in GitHub Desktop.
MDX Sample
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Meta, Story, Props } from '@storybook/addon-docs/blocks'; | |
import { Badge } from './Badge'; | |
<Meta title="Demo/Badge" component={Badge} /> | |
# Badge | |
With `MDX` we write longform markdown documentation for our `Badge` component and embed Doc Blocks inline. | |
<Props of={Badge} /> | |
<Story name="positive"> | |
<Badge status="positive">Positive</Badge> | |
</Story> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment