Files
cosscom__coss/apps/ui/public/r/toggle-group-disabled.json
Volnei Munhoz d5a915e6d0 add biome
2025-11-13 19:19:31 -03:00

16 lines
1.0 KiB
JSON

{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "toggle-group-disabled",
"type": "registry:example",
"description": "Disabled toggle group",
"registryDependencies": ["@coss/toggle-group"],
"files": [
{
"path": "registry/default/examples/toggle-group-disabled.tsx",
"content": "import { BoldIcon, ItalicIcon, UnderlineIcon } from \"lucide-react\"\n\nimport { Toggle, ToggleGroup } from \"@/registry/default/ui/toggle-group\"\n\nexport default function ToggleGroupDisabled() {\n return (\n <ToggleGroup defaultValue={[\"bold\"]} disabled>\n <Toggle value=\"bold\" aria-label=\"Toggle bold\">\n <BoldIcon />\n </Toggle>\n <Toggle value=\"italic\" aria-label=\"Toggle italic\">\n <ItalicIcon />\n </Toggle>\n <Toggle value=\"underline\" aria-label=\"Toggle underline\">\n <UnderlineIcon />\n </Toggle>\n </ToggleGroup>\n )\n}\n",
"type": "registry:example"
}
],
"categories": ["toggle group", "toggle", "disabled"]
}