import { Button } from './Button'; // More on how to set up stories at: https://storybook.js.org/docs/7.0/web-components/writing-stories/introduction export default { title: 'Example/Button', tags: ['autodocs'], render: (args) => Button(args), argTypes: { backgroundColor: { control: 'color' }, onClick: { action: 'onClick' }, size: { control: { type: 'select' }, options: ['small', 'medium', 'large'], }, }, }; // More on writing stories with args: https://storybook.js.org/docs/7.0/web-components/writing-stories/args export const Primary = { args: { primary: true, label: 'Button', }, }; export const Secondary = { args: { label: 'Button', }, }; export const Large = { args: { size: 'large', label: 'Button', }, }; export const Small = { args: { size: 'small', label: 'Button', }, };