Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/RadioButton/RadioButtonGroup.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ class RadioButtonGroup extends Component {
*/
className: PropTypes.string,
/**
* The `value` property (case-sensitive) of the radio button that will be
* The `value` property of the radio button that will be
* selected by default. This takes precedence over the `checked` property
* of the `RadioButton` elements.
*/
defaultSelected: PropTypes.string,
defaultSelected: PropTypes.any,
/**
* Where the label will be placed for all child radio buttons.
* This takes precedence over the `labelPosition` property of the
Expand All @@ -34,7 +34,7 @@ class RadioButtonGroup extends Component {
*
* @param {object} event `change` event targeting the selected
* radio button.
* @param {string} value The `value` of the selected radio button.
* @param {*} value The `value` of the selected radio button.
*/
onChange: PropTypes.func,
/**
Expand All @@ -44,7 +44,7 @@ class RadioButtonGroup extends Component {
/**
* The `value` of the currently selected radio button.
*/
valueSelected: PropTypes.string,
valueSelected: PropTypes.any,
};

static defaultProps = {
Expand Down