From ed80658aa7295247e1d0c08308a555fd5f63fa38 Mon Sep 17 00:00:00 2001 From: Rostislav Bobrovsky Date: Tue, 28 Jan 2020 12:59:38 +0200 Subject: [PATCH] [Checkbox][Radio] Update disabled prop docs by replacing switch --- packages/material-ui/src/Checkbox/Checkbox.js | 2 +- packages/material-ui/src/Radio/Radio.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/material-ui/src/Checkbox/Checkbox.js b/packages/material-ui/src/Checkbox/Checkbox.js index 45fdf813e9868f..4b683c74b71a42 100644 --- a/packages/material-ui/src/Checkbox/Checkbox.js +++ b/packages/material-ui/src/Checkbox/Checkbox.js @@ -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, /** diff --git a/packages/material-ui/src/Radio/Radio.js b/packages/material-ui/src/Radio/Radio.js index 1758d3f27b4efc..f7c00b2271ca3c 100644 --- a/packages/material-ui/src/Radio/Radio.js +++ b/packages/material-ui/src/Radio/Radio.js @@ -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, /**