diff --git a/Overlay.ios.js b/Overlay.ios.js index 90ac256..731e591 100644 --- a/Overlay.ios.js +++ b/Overlay.ios.js @@ -5,13 +5,12 @@ 'use strict'; -var React = require('react-native'); +var React = require('react'); var { View, - PropTypes, StyleSheet, requireNativeComponent, -} = React; +} = require('react-native'); type Props = { isVisible: boolean; diff --git a/package.json b/package.json index df9ec90..b8c3ad1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-overlay", - "version": "0.4.2", + "version": "0.5.0", "description": "An component that brings content inside to the front of the view regardless of its current position in the component tree.", "main": "Overlay.ios.js", "author": "Brent Vatne (https://github.com/brentvatne)",