UNPKG

image-editor-little

Version:
25 lines (24 loc) 659 B
import * as React from 'react'; import './index.less'; interface IProps { src: string; /** 宽度 */ width?: number; /** 高度 */ height?: number; className?: string; locSize?: number; holdSize?: { w: number | string; h: number | string; }; /** 下载图片的类型 */ imageType?: string; /** 点击 X 触发 */ onClose?: (close?: () => void) => void; /** 点击下载时触发 */ onDownload?: (close?: () => void) => void; onConfirm?: (url?: string, close?: () => void) => void; } declare const ImageTools: React.FC<IProps>; export default ImageTools;