Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Dec 5, 2019
1 parent ac0190c commit 89cd7e6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions packages/material-ui/src/Radio/Radio.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,6 @@ Radio.propTypes = {
* If `true`, the component is checked.
*/
checked: PropTypes.bool,
/**
* The size of the radio.
* `small` is equivalent to the dense radio styling.
*/
size: PropTypes.oneOf(['small', 'medium']),
/**
* The icon to display when the component is checked.
*/
Expand Down Expand Up @@ -168,6 +163,11 @@ Radio.propTypes = {
* If `true`, the `input` element will be required.
*/
required: PropTypes.bool,
/**
* The size of the radio.
* `small` is equivalent to the dense radio styling.
*/
size: PropTypes.oneOf(['small', 'medium']),
/**
* The input component prop `type`.
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui/src/Radio/RadioButtonIcon.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ RadioButtonIcon.propTypes = {
* The size of the radio.
* `small` is equivalent to the dense radio styling.
*/
fontSize: PropTypes.oneOf(['small', 'medium']),
fontSize: PropTypes.oneOf(['small', 'default']),
};

export default withStyles(styles, { name: 'PrivateRadioButtonIcon' })(RadioButtonIcon);

0 comments on commit 89cd7e6

Please sign in to comment.