antd-mobile
Version:
基于 React 的移动设计规范实现
15 lines (14 loc) • 482 B
TypeScript
import * as React from 'react';
import ImagePickerPropTypes from './ImagePickerPropTypes';
export default class ImagePicker extends React.Component<ImagePickerPropTypes, any> {
static defaultProps: {
prefixCls: string;
files: any[];
onChange: () => void;
};
getOrientation: (file: any, callback: any) => void;
removeImage: (index: any) => void;
addImage: (imgItem: any) => void;
onFileChange: () => void;
render(): JSX.Element;
}