mirror of
https://github.com/hanzoai/shadcn.git
synced 2026-11-03 03:18:52 +00:00
13 lines
454 B
JSON
13 lines
454 B
JSON
{
|
|
"name": "toggle-with-text",
|
|
"registryDependencies": [
|
|
"toggle"
|
|
],
|
|
"files": [
|
|
{
|
|
"name": "toggle-with-text.tsx",
|
|
"content": "import { Italic } from \"lucide-react\"\n\nimport { Toggle } from \"@/registry/default/ui/toggle\"\n\nexport default function ToggleWithText() {\n return (\n <Toggle aria-label=\"Toggle italic\">\n <Italic />\n Italic\n </Toggle>\n )\n}\n"
|
|
}
|
|
],
|
|
"type": "components:example"
|
|
} |