import React from 'react'; import { RectButton, RectButtonProps } from 'react-native-gesture-handler'; import { useTheme } from '../theme'; export interface ITouchProps extends RectButtonProps { children: React.ReactNode; accessibilityLabel?: string; testID?: string; } const Touch = React.forwardRef(({ children, onPress, underlayColor, ...props }, ref) => { const { colors } = useTheme(); return ( {children} ); }); export default Touch;