react-bezier-curve-editor
Version:
Simple bezier curve editor built with React
7 lines (6 loc) • 349 B
TypeScript
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>>
];