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
A React component that tracks and displays directional swipe gestures.
@generates
import React from 'react';
/**
* A component that tracks and displays swipe gestures in all four directions.
*
* Displays:
* - Left swipes count
* - Right swipes count
* - Up swipes count
* - Down swipes count
* - Total swipes count
*/
export default function SwipeCounter(): React.ReactElement;The component should render:
Provides swipe gesture detection with directional callbacks.
@satisfied-by
React library for building user interfaces.
@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