import React, { ReactNode } from 'react'; import { TouchableWithoutFeedback, TouchableWithoutFeedbackProps, View, ViewProps, StyleSheet, } from 'react-native'; interface TouchableViewProps extends TouchableWithoutFeedbackProps { contentView?: ViewProps; children?: ReactNode; } const TouchableView = (props: TouchableViewProps) => { const { contentView, children, ...resPorps } = props; return ( {children} ); }; export default TouchableView;