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

16 lines
674 B
JSON

{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "switch-disabled",
"type": "registry:example",
"description": "Disabled switch",
"registryDependencies": ["@coss/switch", "@coss/label"],
"files": [
{
"path": "registry/default/examples/switch-disabled.tsx",
"content": "import { Label } from \"@/registry/default/ui/label\"\nimport { Switch } from \"@/registry/default/ui/switch\"\n\nexport default function SwitchWithLabel() {\n return (\n <Label>\n <Switch disabled />\n Marketing emails\n </Label>\n )\n}\n",
"type": "registry:example"
}
],
"categories": ["switch", "label", "disabled"]
}