From a90e4ff71657e1516dfb8cf6ed96043b496a197c Mon Sep 17 00:00:00 2001 From: Rizki Sunaryo Date: Wed, 1 Nov 2017 19:25:19 +0700 Subject: [PATCH] FIXED: Cannot read property 'style' of undefined --- KeyboardSpacer.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/KeyboardSpacer.js b/KeyboardSpacer.js index 14560d8..842214e 100644 --- a/KeyboardSpacer.js +++ b/KeyboardSpacer.js @@ -39,7 +39,6 @@ export default class KeyboardSpacer extends Component { static propTypes = { topSpacing: PropTypes.number, onToggle: PropTypes.func, - style: ViewPropTypes.style, }; static defaultProps = { @@ -117,6 +116,6 @@ export default class KeyboardSpacer extends Component { render() { return ( - ); + ); } }