import { ViewPropTypes } from 'deprecated-react-native-prop-types' import PropTypes from 'prop-types' import React from 'react' import { StyleSheet, TouchableWithoutFeedback, View } from 'react-native' const styles = StyleSheet.create({ mask: { flex: 1, zIndex: 1000 } }) const Mask: React.FC = ({ transparent = false, style, onPress, children }) => {children} Mask.propTypes = { transparent: PropTypes.bool, style: ViewPropTypes.style, children: PropTypes.node, onPress: PropTypes.func } export { Mask }