Skip to content

Commit c1e8b95

Browse files
authored
Fixes ViewPropTypes errors (#132)
1 parent 5fcacb5 commit c1e8b95

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/BaseInput.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ export default class BaseInput extends Component {
88
label: PropTypes.string,
99
value: PropTypes.string,
1010
defaultValue: PropTypes.string,
11-
style: ViewPropTypes ? ViewPropTypes.style : View.propTypes.style,
12-
inputStyle: Text.propTypes.style,
13-
labelStyle: Text.propTypes.style,
11+
style: ViewPropTypes ? ViewPropTypes.style : View.propTypes?.style,
12+
inputStyle: Text.propTypes?.style,
13+
labelStyle: Text.propTypes?.style,
1414
easing: PropTypes.func,
1515
animationDuration: PropTypes.number,
1616
useNativeDriver: PropTypes.bool,

0 commit comments

Comments
 (0)