import { Pressable } from "react-native"; import { useTapDetection } from "./useTapDetection"; interface Props { screenWidth: number; screenHeight: number; showControls: boolean; onToggleControls: () => void; } export const VideoTouchOverlay = ({ screenWidth, screenHeight, showControls, onToggleControls, }: Props) => { const { handleTouchStart, handleTouchEnd } = useTapDetection({ onValidTap: onToggleControls, }); return ( ); };