We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fcacb5 commit c1e8b95Copy full SHA for c1e8b95
lib/BaseInput.js
@@ -8,9 +8,9 @@ export default class BaseInput extends Component {
8
label: PropTypes.string,
9
value: PropTypes.string,
10
defaultValue: PropTypes.string,
11
- style: ViewPropTypes ? ViewPropTypes.style : View.propTypes.style,
12
- inputStyle: Text.propTypes.style,
13
- labelStyle: Text.propTypes.style,
+ style: ViewPropTypes ? ViewPropTypes.style : View.propTypes?.style,
+ inputStyle: Text.propTypes?.style,
+ labelStyle: Text.propTypes?.style,
14
easing: PropTypes.func,
15
animationDuration: PropTypes.number,
16
useNativeDriver: PropTypes.bool,
0 commit comments