UNPKG

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