storybook/docs/snippets/vue/button-story.js.mdx
2021-02-23 00:26:03 +00:00

15 lines
250 B
Plaintext

```js
// Button.stories.js
import Button from './Button.vue';
export default {
component: Button,
title: 'Components/Button',
};
export const Primary = () => ({
components: { Button },
template: '<Button primary label="Button" />',
});
```