minishouyin/node_modules/antd/es/upload/UploadList/index.d.ts
2025-11-12 11:35:57 +08:00

9 lines
403 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;