UNPKG

motion

Version:

The Motion library for the web

5 lines (4 loc) 399 B
import { Dispatch, SetStateAction } from "react"; import { AnimationOptionsWithOverrides, MotionKeyframes } from "../../dom/types"; import { Poses } from "../types"; export declare function useGestureState(target: MotionKeyframes, options: AnimationOptionsWithOverrides, stylesToApply?: MotionKeyframes | string, inheritedPose?: string, poses?: Poses): [boolean, Dispatch<SetStateAction<boolean>>];