{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"checkbox-universal","type":"registry:item","title":"Checkbox","description":"A universal @expo/ui selection control for checked and unchecked states across Android, iOS and web.","files":[{"path":"snippets/checkbox-universal.tsx","content":"import { useState } from \"react\";\nimport { Host, Checkbox } from \"@expo/ui\";\n\nexport default function CheckboxExample() {\n  const [accepted, setAccepted] = useState(false);\n\n  return (\n    <Host matchContents>\n      <Checkbox label=\"I accept the terms\" value={accepted} onValueChange={setAccepted} />\n    </Host>\n  );\n}\n","type":"registry:file","target":"~/snippets/checkbox-universal.tsx"}],"author":"expo","dependencies":["@expo/ui"]}