1 | import React, { Component } from 'react';
|
2 | import { UploadFile, UploadListProps } from './interface';
|
3 | import { previewImage } from './utils';
|
4 | export default class UploadList extends Component<UploadListProps, any> {
|
5 | static displayName: string;
|
6 | static defaultProps: {
|
7 | listType: string;
|
8 | progressAttr: {
|
9 | strokeWidth: number;
|
10 | showInfo: boolean;
|
11 | };
|
12 | previewFile: typeof previewImage;
|
13 | showRemoveIcon: boolean;
|
14 | showPreviewIcon: boolean;
|
15 | dragUploadList: boolean;
|
16 | };
|
17 | handleClose: (file: UploadFile) => void;
|
18 | handlePreview: (file: UploadFile, e: React.SyntheticEvent<HTMLElement, Event>) => void;
|
19 | componentDidUpdate(): void;
|
20 | |
21 |
|
22 |
|
23 |
|
24 | onDragEnd: (result: any) => void;
|
25 | render(): JSX.Element;
|
26 | }
|