react-img-editor-en
Version:
Image Annotation Tool for React
21 lines (20 loc) • 570 B
TypeScript
import Plugin from "./plugins/Plugin";
import React from "react";
interface ReactImageEditorProps {
width?: number;
height?: number;
style?: React.CSSProperties;
plugins?: Plugin[];
toolbar?: {
items: string[];
};
src: string;
getStage?: (stage: any) => void;
defaultPluginName?: string;
crossOrigin?: string;
}
declare function ReactImageEditor(props: ReactImageEditorProps): React.JSX.Element;
declare namespace ReactImageEditor {
var defaultProps: Partial<ReactImageEditorProps>;
}
export default ReactImageEditor;