UNPKG

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