import MenuItem from "../../app/components/navigation/MenuItem"; export default { title: "Components/Navigation/MenuItem", component: MenuItem, parameters: { layout: "centered", docs: { description: { component: "A navigation menu item with multiple variants, sizes, and states. Renders as a link or button (or disabled span) with accessibility support. Use Tab to test focus indicators.", }, }, }, argTypes: { mode: { control: { type: "select" }, options: ["default", "inverse"], description: "The visual style mode of the menu item", }, size: { control: { type: "select" }, options: ["X Small", "Small", "Medium", "Large", "X Large"], description: "The size of the menu item", }, disabled: { control: { type: "boolean" }, description: "Whether the menu item is disabled", }, href: { control: { type: "text" }, description: "The link destination", }, onClick: { action: "clicked" }, }, tags: ["autodocs"], }; export const Default = { args: { children: "Menu Item", size: "Large", }, }; export const Modes = { args: { children: "Menu Item", size: "Large", }, render: (args) => (