UNPKG

motion

Version:

The Motion library for the web

5 lines (4 loc) 492 B
import { HTMLProps } from "react"; import { AnimationOptionsWithOverrides, MotionKeyframes } from "../../dom/types"; import { AnimatedProps, AnimationContextProps, PoseActiveState } from "../types"; export declare function useHover(target: MotionKeyframes, options: AnimationOptionsWithOverrides, { hover, onPointerEnter, onPointerLeave, poses, }: (AnimatedProps & HTMLProps<any>) | undefined, { hover: inheritedHover }: AnimationContextProps, isPoseActive: PoseActiveState): HTMLProps<any>;