source: imaps-frontend/node_modules/@use-gesture/react/dist/declarations/src/useMove.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: 563 bytes
Line 
1import { UserMoveConfig, Handler, EventTypes } from '@use-gesture/core/types';
2/**
3 * Move hook.
4 *
5 * @param {Handler<'move'>} handler - the function fired every time the move gesture updates
6 * @param {UserMoveConfig} config - the config object including generic options and move options
7 */
8export declare function useMove<EventType = EventTypes['move'], Config extends UserMoveConfig = UserMoveConfig>(handler: Handler<'move', EventType>, config?: Config): Config["target"] extends object ? void : (...args: any[]) => import("./types.js").ReactDOMAttributes;
Note: See TracBrowser for help on using the repository browser.