@aimake/nanod
Version:
## 设计模式 NANO DESIGN 是面向于企业级中台化应用的解决方案。服务于 ToB 和 ToE 类型的单页应用,应用于各产品中从而产出了一套设计及前端规范。
19 lines (18 loc) • 615 B
TypeScript
import * as React from 'react';
import { UploadListProps, UploadFile } from './interface';
export default class UploadList extends React.Component<UploadListProps, any> {
static defaultProps: {
listType: string;
progressAttr: {
strokeWidth: number;
showInfo: boolean;
};
prefixCls: string;
showRemoveIcon: boolean;
showPreviewIcon: boolean;
};
handleClose: (file: UploadFile) => void;
handlePreview: (file: UploadFile, e: React.SyntheticEvent<HTMLElement>) => void;
componentDidUpdate(): void;
render(): JSX.Element;
}