import type { Meta, StoryObj } from '@storybook/react' import { Button } from './button' const meta: Meta = { title: 'Primitives/Button', component: Button, parameters: { layout: 'centered' }, args: { children: 'Button' }, } export default meta type Story = StoryObj export const Default: Story = {} export const Sandbox: Story = { args: { variant: 'sandbox', children: 'Get Started' } } export const Secondary: Story = { args: { variant: 'secondary' } } export const Outline: Story = { args: { variant: 'outline' } } export const Ghost: Story = { args: { variant: 'ghost' } } export const Destructive: Story = { args: { variant: 'destructive', children: 'Delete' } } export const Loading: Story = { args: { loading: true, children: 'Loading...' } } export const AllSizes: Story = { name: 'All Sizes', render: () => (
), } export const AllVariants: Story = { name: 'All Variants', render: () => (
), }