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

main
Last change on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 677 bytes
Line 
1import { GestureHandlers, UserGestureConfig, EventTypes, AnyHandlerEventTypes } from '@use-gesture/core/types';
2/**
3 * @public
4 *
5 * The most complete gesture hook, allowing support for multiple gestures.
6 *
7 * @param {GestureHandlers} handlers - an object with on[Gesture] keys containg gesture handlers
8 * @param {UserGestureConfig} config - the full config object
9 */
10export declare function useGesture<HandlerTypes extends AnyHandlerEventTypes = EventTypes, Config extends UserGestureConfig = UserGestureConfig>(handlers: GestureHandlers<HandlerTypes>, config?: Config): Config["target"] extends object ? void : (...args: any[]) => import("./types.js").ReactDOMAttributes;
Note: See TracBrowser for help on using the repository browser.