Skip to content

Commit ecb0861

Browse files
author
Jimmy Jia
committed
[fixed] Fix propType warning in ButtonInputExample
1 parent a964ea2 commit ecb0861

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/examples/ButtonInput.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ const ButtonInputExample = React.createClass({
22
getInitialState() {
33
return {
44
disabled: true,
5-
style: ''
5+
style: null
66
};
77
},
88

99
resetValidation() {
1010
this.setState({
1111
disabled: true,
12-
style: ''
12+
style: null
1313
});
1414
},
1515

0 commit comments

Comments
 (0)