zp-bee
Version:
zp-bee,是一款基于 Dumi,由 React + TypeScript 开发的组件库 🎉。
19 lines (18 loc) • 719 B
TypeScript
/// <reference types="react" />
import { RcFile } from 'antd/lib/upload';
export interface IBeeUploadProps {
modalTitle: string;
description?: string;
selectFileTip: string;
uploadVisible: boolean;
importBtnLoading: boolean;
importFile: (file: RcFile) => void;
onCancel: () => void;
modalWidth?: number;
downloadTemplate?: () => void;
uploadDescription?: JSX.Element;
accept?: string;
extraContent?: JSX.Element;
}
declare const BeeUpload: ({ modalTitle, description, selectFileTip, uploadVisible, importBtnLoading, importFile, onCancel, modalWidth, downloadTemplate, uploadDescription, accept, extraContent, }: IBeeUploadProps) => JSX.Element;
export default BeeUpload;