@primer/react 0.0.0-20260427161513 → 0.0.0-20260427163216
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/generated/components.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2234,7 +2234,7 @@
|
|
|
2234
2234
|
},
|
|
2235
2235
|
{
|
|
2236
2236
|
"id": "components-checkbox-features--indeterminate",
|
|
2237
|
-
"code": "() => (\n <form>\n
|
|
2237
|
+
"code": "() => {\n const [isIndeterminate, setIsIndeterminate] = useState(true)\n return (\n <form>\n <FormControl>\n <Checkbox\n value=\"default\"\n indeterminate={isIndeterminate}\n onChange={() => {\n setIsIndeterminate(!isIndeterminate)\n }}\n checked={false}\n />\n <FormControl.Label>Default label</FormControl.Label>\n </FormControl>\n </form>\n )\n}"
|
|
2238
2238
|
}
|
|
2239
2239
|
],
|
|
2240
2240
|
"importPath": "@primer/react",
|
package/package.json
CHANGED