{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "toggle-button", "dependencies": [ "react-aria-components", "class-variance-authority" ], "registryDependencies": [ "@seamless/utils", "@seamless/button" ], "files": [ { "path": "src/components/ui/toggle-button.tsx", "content": "import type * as React from \"react\"\nimport type { VariantProps } from \"class-variance-authority\"\nimport { ToggleButton as ToggleButtonPrimitive } from \"react-aria-components\"\n\nimport { cn, type Styled } from \"@/lib/utils\"\nimport { buttonVariants } from \"@/components/ui/button\"\n\ntype ToggleButtonProps = Styled<\n React.ComponentProps\n> &\n VariantProps\n\nfunction ToggleButton({\n className,\n variant = \"ghost\",\n size = \"default\",\n ...props\n}: ToggleButtonProps) {\n return (\n \n )\n}\n\nexport { ToggleButton, type ToggleButtonProps }\n", "type": "registry:ui" } ], "type": "registry:ui" }