amis-rpc-design/node_modules/antd/es/upload/UploadList/index.d.ts

9 lines
404 B
TypeScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
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;