react-linear-gradient-picker
Version:
React linear gradient picker
13 lines (12 loc) • 355 B
TypeScript
/**
* The drag supported events
*/
export declare const EVENTS: {
readonly MOUSEDOWN: "mousedown";
readonly MOUSEMOVE: "mousemove";
readonly MOUSEUP: "mouseup";
readonly TOUCHSTART: "touchstart";
readonly TOUCHMOVE: "touchmove";
readonly TOUCHEND: "touchend";
};
export type DragEventType = (typeof EVENTS)[keyof typeof EVENTS];