{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "switch-06",
  "title": "Controlled Switch",
  "description": "A controlled switch component",
  "registryDependencies": [
    "switch"
  ],
  "files": [
    {
      "path": "src/components/customized/switch/switch-06.tsx",
      "content": "\"use client\";\n\nimport { useState } from \"react\";\nimport { Switch } from \"@/registry/ui/switch\";\n\nconst ControlledSwitchDemo = () => {\n  const [checked, setChecked] = useState<boolean>();\n\n  return <Switch checked={checked} onCheckedChange={setChecked} />;\n};\n\nexport default ControlledSwitchDemo;\n",
      "type": "registry:component"
    }
  ],
  "type": "registry:component"
}