diff --git a/index.js b/index.js index 818b2e7..ac74ff8 100644 --- a/index.js +++ b/index.js @@ -8,6 +8,7 @@ const OriginalTouchableOpacity = ReactNative.TouchableOpacity; function getMockContainer(OriginalComponent) { return class extends React.Component { static displayName = 'View'; + setNativeProps() {} render() { return {this.props.children}; } @@ -83,4 +84,4 @@ class HighlightComponent extends React.Component { const colorLayerStyle = {borderWidth: 3, borderColor: this.getColor(), position: 'absolute', top: 0, bottom: 0, left: 0, right: 0}; return ; } -} \ No newline at end of file +}