UNPKG

antd

Version:

An enterprise-class UI design language and React components implementation

22 lines (21 loc) 837 B
import * as React from 'react'; import { UploadListProps, UploadFile, UploadListType } from './interface'; import { previewImage } from './utils'; import { ConfigConsumerProps } from '../config-provider'; export default class UploadList extends React.Component<UploadListProps, any> { static defaultProps: { listType: UploadListType; progressAttr: { strokeWidth: number; showInfo: boolean; }; showRemoveIcon: boolean; showPreviewIcon: boolean; previewFile: typeof previewImage; }; componentDidUpdate(): void; handlePreview: (file: UploadFile, e: React.SyntheticEvent<HTMLElement, Event>) => void; handleClose: (file: UploadFile) => void; renderUploadList: ({ getPrefixCls }: ConfigConsumerProps) => JSX.Element; render(): JSX.Element; }