{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "mic-selector-demo",
  "title": "Mic Selector Demo",
  "description": "A worked example of Mic Selector: Chooses which microphone to use, then settles the question by lighting a meter from the one you chose.",
  "registryDependencies": [
    "https://ui.tinkererslabs.com/r/mic-selector.json"
  ],
  "files": [
    {
      "path": "components/demos/mic-selector-demo.tsx",
      "content": "\"use client\"\n\nimport * as React from \"react\"\n\nimport { MicSelector } from \"@/registry/default/mic-selector/mic-selector\"\n\nexport function MicSelectorDemo() {\n  const [chosen, setChosen] = React.useState(\"\")\n\n  return (\n    <div className=\"w-full max-w-md space-y-3\">\n      <MicSelector value={chosen} onValueChange={setChosen} />\n\n      <p className=\"text-muted-foreground text-xs\">\n        Names stay hidden until a page has been granted the microphone once, so\n        the list reads Microphone 1 and 2 until you run the test.\n      </p>\n    </div>\n  )\n}\n",
      "type": "registry:example"
    }
  ],
  "type": "registry:example"
}