UNPKG

antd-mobile-rn

Version:

基于蚂蚁金服移动设计规范的 React Native 组件库

29 lines (28 loc) 905 B
import React from 'react'; import { ImagePickerPropTypes } from './PropsType'; import { IImagePickerStyle } from './style/index.native'; export interface ImagePickerNativeProps extends ImagePickerPropTypes { styles?: IImagePickerStyle; } export default class ImagePicker extends React.Component<ImagePickerNativeProps, any> { static defaultProps: { styles: { [x: string]: import("react-native").RegisteredStyle<any>; }; onChange(): void; onFail(): void; files: never[]; selectable: boolean; }; plusText: any; plusWrap: any; constructor(props: ImagePickerNativeProps); onPressIn: () => void; onPressOut: () => void; showPicker: () => void; addImage(imageObj: any): void; removeImage(idx: number): void; hideImageRoll: () => void; onImageClick(index: number): void; render(): JSX.Element; }