import Button from "../app/components/Button"; export default { title: "Components/Button", component: Button, parameters: { layout: "centered", docs: { description: { component: "A versatile button component with multiple variants, sizes, and states. Can render as a button or link with full accessibility support. Includes focus states with keyboard navigation - use Tab key to test focus indicators.", }, }, }, argTypes: { variant: { control: { type: "select" }, options: ["default", "secondary"], description: "The visual style variant of the button", }, size: { control: { type: "select" }, options: ["xsmall", "small", "large", "xlarge"], description: "The size of the button", }, disabled: { control: { type: "boolean" }, description: "Whether the button is disabled", }, href: { control: { type: "text" }, description: "If provided, renders as a link instead of a button", }, onClick: { action: "clicked" }, }, tags: ["autodocs"], }; export const Default = { args: { children: "Button", }, }; export const Variants = { args: { children: "Button", size: "large", }, render: (args) => (