amis-rpc-design/node_modules/antd/lib/upload/UploadList/index.d.ts
2023-10-07 19:42:30 +08:00

9 lines
404 B
TypeScript

import * as React from 'react';
import type { UploadFile, UploadListProps } from '../interface';
interface UploadListRef {
handlePreview: (file: UploadFile, e?: React.SyntheticEvent<HTMLElement>) => void;
handleDownload: (file: UploadFile) => void;
}
declare const UploadList: React.ForwardRefExoticComponent<UploadListProps<any> & React.RefAttributes<UploadListRef>>;
export default UploadList;