UNPKG

react-img-editor-en

Version:
21 lines (20 loc) 570 B
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;