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

main
Last change on this file since d565449 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 { EventTypes, UserHoverConfig, Handler } from '@use-gesture/core/types';
2/**
3 * Hover hook.
4 *
5 * @param {Handler<'hover'>} handler - the function fired every time the hover gesture updates
6 * @param {UserHoverConfig} config - the config object including generic options and hover options
7 */
8export declare function useHover<EventType = EventTypes['hover'], Config extends UserHoverConfig = UserHoverConfig>(handler: Handler<'hover', EventType>, config?: Config): Config["target"] extends object ? void : (...args: any[]) => import("./types.js").ReactDOMAttributes;
Note: See TracBrowser for help on using the repository browser.