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 React component that demonstrates timed swipe gestures. The component should respond to quick swipes but ignore slow dragging motions.
Create a SwipeTimer component that displays a message area and tracks swipe gestures with timing constraints:
@generates
/**
* SwipeTimer component that detects quick swipe gestures and ignores slow dragging
* @returns A React component that displays swipe detection results
*/
export function SwipeTimer(): JSX.Element;Provides swipe gesture detection with configurable timing constraints.
Provides component functionality.
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