image-editor-little
Version:
18 lines (17 loc) • 570 B
TypeScript
import * as React from 'react';
interface IProps {
isFinished: boolean;
isSelected: boolean;
toolsRef: React.RefObject<HTMLDivElement>;
ratio: number;
imageType?: string;
handleMouseDown: any;
handleSelect: any;
handleClose: any;
lastDraw: () => void;
onClose?: (close?: () => void) => void;
onDownload?: (close?: () => void) => void;
onConfirm: (url?: string, close?: () => void) => void;
}
declare const Canvas: React.ForwardRefExoticComponent<IProps & React.RefAttributes<any>>;
export default Canvas;