Navigation Menu

Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nairihar committed May 25, 2018
1 parent 868acb5 commit 0923dad
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions index.js
Expand Up @@ -11,17 +11,18 @@ import {
Easing,
Text,
View,
Platform
Platform,
ViewPropTypes
} from 'react-native';

var textPropTypes = Text.propTypes || View.propTypes
var textPropTypes = Text.propTypes || ViewPropTypes
var textInputPropTypes = TextInput.propTypes || textPropTypes
var propTypes = {
...textInputPropTypes,
inputStyle: textInputPropTypes.style,
labelStyle: textPropTypes.style,
disabled: PropTypes.bool,
style: View.propTypes.style,
style: ViewPropTypes.style,
}

var FloatingLabel = createReactClass({
Expand Down

0 comments on commit 0923dad

Please sign in to comment.