diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..a6cc758 Binary files /dev/null and b/.DS_Store differ diff --git a/Lightbox.js b/Lightbox.js index 94e17cb..8a1bfc5 100644 --- a/Lightbox.js +++ b/Lightbox.js @@ -5,12 +5,17 @@ import { Animated, TouchableHighlight, View } from 'react-native'; import LightboxOverlay from './LightboxOverlay'; export default class Lightbox extends Component { + static contextTypes = { + actionSheet: PropTypes.func, + }; + static propTypes = { activeProps: PropTypes.object, renderHeader: PropTypes.func, renderContent: PropTypes.func, underlayColor: PropTypes.string, backgroundColor: PropTypes.string, + onLongPress: PropTypes.func, didOpen: PropTypes.func, onOpen: PropTypes.func, willClose: PropTypes.func, @@ -130,7 +135,7 @@ export default class Lightbox extends Component { this.props.onLongPress(this.context, this.props)} > {this.props.children}