antd-mobile-alita
Version:
基于 React 的移动设计规范实现
21 lines (20 loc) • 611 B
TypeScript
import * as React from "react";
interface ImageFile {
url: string;
[key: string]: any;
}
export interface ImagePickerPropTypes {
style?: React.CSSProperties;
files?: Array<ImageFile>;
onChange?: (files: Array<ImageFile>, operationType: string, index?: number) => void;
onImageClick?: (index?: number, files?: Array<ImageFile>) => void;
onAddImageClick?: (e: React.MouseEvent) => void;
onFail?: (msg: string) => void;
selectable?: boolean;
multiple?: boolean;
accept?: string;
length?: number | string;
capture?: any;
disableDelete?: boolean;
}
export {};