Skip to content

Commit f550227

Browse files
[docs] Fix typo in switches and checkboxes doc (mui#25639)
1 parent 284003e commit f550227

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/src/pages/components/checkboxes/checkboxes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Use the `size` prop or customize the font size of the svg icons to change the si
4444

4545
## Controlled
4646

47-
You can control the checkbox with the `value` and `onChange` props:
47+
You can control the checkbox with the `checked` and `onChange` props:
4848

4949
{{"demo": "pages/components/checkboxes/ControlledCheckbox.js"}}
5050

docs/src/pages/components/switches/switches.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Use the `size` prop to change the size of the switch.
3737

3838
## Controlled
3939

40-
You can control the switch with the `value` and `onChange` props:
40+
You can control the switch with the `checked` and `onChange` props:
4141

4242
{{"demo": "pages/components/switches/ControlledSwitches.js"}}
4343

0 commit comments

Comments
 (0)