File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
docs/src/pages/components Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ Use the `size` prop or customize the font size of the svg icons to change the si
44
44
45
45
## Controlled
46
46
47
- You can control the checkbox with the ` value ` and ` onChange ` props:
47
+ You can control the checkbox with the ` checked ` and ` onChange ` props:
48
48
49
49
{{"demo": "pages/components/checkboxes/ControlledCheckbox.js"}}
50
50
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ Use the `size` prop to change the size of the switch.
37
37
38
38
## Controlled
39
39
40
- You can control the switch with the ` value ` and ` onChange ` props:
40
+ You can control the switch with the ` checked ` and ` onChange ` props:
41
41
42
42
{{"demo": "pages/components/switches/ControlledSwitches.js"}}
43
43
You can’t perform that action at this time.
0 commit comments