UNPKG

react-use-gesture

Version:

React hook for receiving gestures https://use-gesture.netlify.app

9 lines (8 loc) 430 B
import { UseMoveConfig, Handler, EventTypes } from '../types'; /** * Move hook. * * @param handler - the function fired every time the move gesture updates * @param [config={}] - the config object including generic options and move options */ export declare function useMove<K = EventTypes['move']>(handler: Handler<'move', K>, config?: UseMoveConfig | {}): (...args: any[]) => import("../types").ReactEventHandlers;