UNPKG

react-bezier-curve-editor

Version:
7 lines (6 loc) 349 B
import React from "react"; import { Point } from "./BezierCurveEditor"; export declare function useHandleState(moveHandle: (start: Point, coordinates: Point) => void, handleMoveStart: () => void): [ boolean, Record<"handlePointerLeaveOrUp" | "handlePointerMove" | "handlePointerStartMoving", React.PointerEventHandler<HTMLButtonElement>> ];