moonjokeui
Version:
A ridiculous UI library built with React.
10 lines (9 loc) • 357 B
TypeScript
interface LineDrawerUtilsProps {
contextRef: React.MutableRefObject<CanvasRenderingContext2D | null>;
}
declare const LineDrawerUtils: ({ contextRef }: LineDrawerUtilsProps) => {
handleStartDrawing: ({ nativeEvent }: any) => void;
handleDraw: ({ nativeEvent }: any) => void;
handleStopDrawing: () => void;
};
export default LineDrawerUtils;