Skip to content

Commit

Permalink
[Checkbox][Radio] Update disabled prop docs by replacing switch
Browse files Browse the repository at this point in the history
  • Loading branch information
rostislavbobo committed Jan 28, 2020
1 parent b9b20b2 commit ed80658
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/material-ui/src/Checkbox/Checkbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ Checkbox.propTypes = {
*/
color: PropTypes.oneOf(['primary', 'secondary', 'default']),
/**
* If `true`, the switch will be disabled.
* If `true`, the checkbox will be disabled.
*/
disabled: PropTypes.bool,
/**
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui/src/Radio/Radio.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ Radio.propTypes = {
*/
color: PropTypes.oneOf(['primary', 'secondary', 'default']),
/**
* If `true`, the switch will be disabled.
* If `true`, the radio will be disabled.
*/
disabled: PropTypes.bool,
/**
Expand Down

0 comments on commit ed80658

Please sign in to comment.