Initial project import
This commit is contained in:
8
node_modules/@use-gesture/react/dist/declarations/src/usePinch.d.ts
generated
vendored
Normal file
8
node_modules/@use-gesture/react/dist/declarations/src/usePinch.d.ts
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
import { UserPinchConfig, Handler, EventTypes } from '@use-gesture/core/types';
|
||||
/**
|
||||
* Pinch hook.
|
||||
*
|
||||
* @param {Handler<'pinch'>} handler - the function fired every time the pinch gesture updates
|
||||
* @param {UserPinchConfig} config - the config object including generic options and pinch options
|
||||
*/
|
||||
export 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;
|
||||
Reference in New Issue
Block a user