import type { Meta, StoryObj } from '@storybook/react' import { fn } from '@storybook/test' import Button from './Button' const meta = { title: 'Demo/Components/Button', component: Button, parameters: { layout: 'centered', }, tags: ['autodocs'], args: { onClick: fn() }, } satisfies Meta export default meta type Story = StoryObj export const Default: Story = { args: { label: 'Button', }, } export const Large: Story = { args: { size: 'large', label: 'Button', }, } export const Small: Story = { args: { size: 'small', label: 'Button', }, }