Skip to content

Commit 3dc1304

Browse files
committed
[EnhancedSwitch] Changed the type of value in EnhancedSwitch to any
1 parent 120335b commit 3dc1304

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/internal/EnhancedSwitch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ class EnhancedSwitch extends Component {
9999
switched: PropTypes.bool.isRequired,
100100
thumbStyle: PropTypes.object,
101101
trackStyle: PropTypes.object,
102-
value: PropTypes.string,
102+
value: PropTypes.any,
103103
};
104104

105105
static contextTypes = {

0 commit comments

Comments
 (0)