UNPKG

antd-mobile

Version:

基于 React 的移动设计规范实现

21 lines (20 loc) 695 B
/// <reference types="react" /> import React from 'react'; import { ImagePickerPropTypes } from './PropsType'; export default class ImagePicker extends React.Component<ImagePickerPropTypes, any> { static defaultProps: { prefixCls: string; files: never[]; onChange: () => void; onImageClick: () => void; onAddImageClick: () => void; selectable: boolean; }; getOrientation: (file: any, callback: any) => void; getRotation: (orientation?: number) => number; removeImage: (index: any) => void; addImage: (imgItem: any) => void; onImageClick: (index: any) => void; onFileChange: () => void; render(): JSX.Element; }