Skip to content

Commit

Permalink
Remove style: ViewPropTypes.style
Browse files Browse the repository at this point in the history
On React Native 0.53.3 my app runs in DEV mode, but when archived and deployed to a device crashes with: `underfined is not an object(evaluating '_reactNative.View.propType.style'`. See facebook/react-native#16542.

Removing this prop solves this crash.
  • Loading branch information
ajaxmac authored Feb 27, 2018
1 parent 83636c1 commit f8787db
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion KeyboardSpacer.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ export default class KeyboardSpacer extends Component {
static propTypes = {
topSpacing: PropTypes.number,
onToggle: PropTypes.func,
style: ViewPropTypes.style,
};

static defaultProps = {
Expand Down

0 comments on commit f8787db

Please sign in to comment.