Skip to content

Commit

Permalink
Fix typos in checkbox prop-types (segmentio#613)
Browse files Browse the repository at this point in the history
  • Loading branch information
jossmac authored and Matt Shwery committed Aug 26, 2019
1 parent 46572cf commit 4d7e536
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/checkbox/src/Checkbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class Checkbox extends PureComponent {
id: PropTypes.string,

/**
* The id attribute of the radio.
* The id attribute of the checkbox.
*/
name: PropTypes.string,

Expand All @@ -58,18 +58,18 @@ class Checkbox extends PureComponent {
label: PropTypes.node,

/**
* The value attribute of the radio.
* The value attribute of the checkbox.
*/
value: PropTypes.string,

/**
* The checked attribute of the radio.
* The checked attribute of the checkbox.
*/
checked: PropTypes.bool,

/**
* State in addition to "checked" and "unchecked".
* When true, the radio displays a "minus" icon.
* When true, the checkbox displays a "minus" icon.
*/
indeterminate: PropTypes.bool,

Expand All @@ -79,7 +79,7 @@ class Checkbox extends PureComponent {
onChange: PropTypes.func,

/**
* When true, the radio is disabled.
* When true, the checkbox is disabled.
*/
disabled: PropTypes.bool,

Expand Down

0 comments on commit 4d7e536

Please sign in to comment.