React hook for handling swipe gestures on touch devices and mouse interactions with comprehensive directional callbacks and customizable sensitivity settings
90
Evaluation — 90%
↑ 1.00xAgent success when using this tile
Build a touch-enabled image gallery component that responds to swipe gestures for navigation while preventing default browser scrolling during swipes.
Create a React component that displays an image gallery with the following behavior:
The gallery should:
The component must:
@generates
interface ImageGalleryProps {
images: string[];
}
export function ImageGallery(props: ImageGalleryProps): JSX.Element;Provides swipe gesture detection with scroll prevention capabilities.
@satisfied-by
Install with Tessl CLI
npx tessl i tessl/npm-react-swipeabledocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10