source: imaps-frontend/node_modules/@use-gesture/react/dist/declarations/src/usePinch.d.ts

main
Last change on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 574 bytes
Line 
1import { UserPinchConfig, Handler, EventTypes } from '@use-gesture/core/types';
2/**
3 * Pinch hook.
4 *
5 * @param {Handler<'pinch'>} handler - the function fired every time the pinch gesture updates
6 * @param {UserPinchConfig} config - the config object including generic options and pinch options
7 */
8export declare function usePinch<EventType = EventTypes['pinch'], Config extends UserPinchConfig = UserPinchConfig>(handler: Handler<'pinch', EventType>, config?: Config): Config["target"] extends object ? void : (...args: any[]) => import("./types.js").ReactDOMAttributes;
Note: See TracBrowser for help on using the repository browser.