File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,11 +13,11 @@ class RadioButtonGroup extends Component {
1313 */
1414 className : PropTypes . string ,
1515 /**
16- * The `value` property (case-sensitive) of the radio button that will be
16+ * The `value` property of the radio button that will be
1717 * selected by default. This takes precedence over the `checked` property
1818 * of the `RadioButton` elements.
1919 */
20- defaultSelected : PropTypes . string ,
20+ defaultSelected : PropTypes . any ,
2121 /**
2222 * Where the label will be placed for all child radio buttons.
2323 * This takes precedence over the `labelPosition` property of the
@@ -34,7 +34,7 @@ class RadioButtonGroup extends Component {
3434 *
3535 * @param {object } event `change` event targeting the selected
3636 * radio button.
37- * @param {string } value The `value` of the selected radio button.
37+ * @param {* } value The `value` of the selected radio button.
3838 */
3939 onChange : PropTypes . func ,
4040 /**
@@ -44,7 +44,7 @@ class RadioButtonGroup extends Component {
4444 /**
4545 * The `value` of the currently selected radio button.
4646 */
47- valueSelected : PropTypes . string ,
47+ valueSelected : PropTypes . any ,
4848 } ;
4949
5050 static defaultProps = {
You can’t perform that action at this time.
0 commit comments