From 331caa8e89529e6d71569ae13284a72d8d43b32f Mon Sep 17 00:00:00 2001 From: aahan96 Date: Thu, 16 Jun 2016 11:09:27 -0500 Subject: [PATCH] [RadioButton] Changed the value type to any --- src/RadioButton/RadioButton.js | 2 +- src/internal/EnhancedSwitch.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/RadioButton/RadioButton.js b/src/RadioButton/RadioButton.js index c121612b8211db..aad246648d8a94 100644 --- a/src/RadioButton/RadioButton.js +++ b/src/RadioButton/RadioButton.js @@ -106,7 +106,7 @@ class RadioButton extends Component { /** * The value of the radio button. */ - value: PropTypes.string, + value: PropTypes.any, }; static defaultProps = { diff --git a/src/internal/EnhancedSwitch.js b/src/internal/EnhancedSwitch.js index 612155cd8ebd2a..4ca88b46fcb56f 100644 --- a/src/internal/EnhancedSwitch.js +++ b/src/internal/EnhancedSwitch.js @@ -99,7 +99,7 @@ class EnhancedSwitch extends Component { switched: PropTypes.bool.isRequired, thumbStyle: PropTypes.object, trackStyle: PropTypes.object, - value: PropTypes.string, + value: PropTypes.any, }; static contextTypes = {