Skip to content

Commit 87b2810

Browse files
committed
rm duplicate (and broken) propTypes assignment
1 parent d231851 commit 87b2810

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

index.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ var FloatingLabel = React.createClass({
3939

4040
return state
4141
},
42-
42+
4343
componentWillReceiveProps (props) {
4444
if (props.value !== this.state.text) {
4545
this.setState({ text: props.value, dirty: !!props.value })
@@ -202,9 +202,4 @@ var dirtyStyle = {
202202
top: -17,
203203
}
204204

205-
FloatingLabel.propTypes = {
206-
disabled: PropTypes.bool,
207-
style: Text.propTypes.style,
208-
};
209-
210205
module.exports = FloatingLabel;

0 commit comments

Comments
 (0)