Skip to content

Commit

Permalink
Addon-controls: Add props to MDX vue example
Browse files Browse the repository at this point in the history
  • Loading branch information
shilman committed Jun 17, 2020
1 parent f40058b commit be86e35
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Meta, Preview, Story } from '@storybook/addon-docs/blocks';
import { Meta, Preview, Story, Props } from '@storybook/addon-docs/blocks';
import MyButton from './Button.vue';

<Meta
Expand Down Expand Up @@ -34,6 +34,8 @@ Controls can also be defined and used in MDX stories.
</Story>
</Preview>

<Props story="Rounded" />

## Square

<Preview>
Expand All @@ -48,3 +50,5 @@ Controls can also be defined and used in MDX stories.
{ButtonStory.bind({})}
</Story>
</Preview>

<Props story="Square" />

0 comments on commit be86e35

Please sign in to comment.