import type { Meta, StoryObj } from "@storybook/react-vite"; import { IconBadge } from "@shared/components/IconBadge"; function Glyph() { return ( ); } const meta: Meta = { title: "Primitives/IconBadge", component: IconBadge, tags: ["autodocs"], parameters: { layout: "centered" }, args: { accent: "blue", size: "md", children: }, argTypes: { accent: { control: "inline-radio", options: ["blue", "purple", "green", "amber", "red"], }, size: { control: "inline-radio", options: ["sm", "md"] }, }, }; export default meta; type Story = StoryObj; export const Blue: Story = {}; export const Accents: Story = { render: () => ( {(["blue", "purple", "green", "amber", "red"] as const).map((a) => ( ))} ), };