/** * 多文件上传 */ import { FileListItem, UploadProps } from '@wakeadmin/element-adapter'; import { DefineAtomicProps } from '../../atomic'; import { CommonUploadProps } from './useUpload'; /** * 值由用户自定定义,默认为 string 类型 */ export type AFilesValue = any[]; export type AFilesProps = DefineAtomicProps & CommonUploadProps, { /** * 自定义渲染 */ renderPreview?: (list: FileListItem[]) => any; /** * 自定义文件上传占位 */ renderPlaceholder?: () => any; /** * 文案提示 */ tip?: any; /** * 是否隐藏默认文案提示 */ hideTip?: boolean; /** * 未定义时的占位符 */ undefinedPlaceholder?: any; }>; declare global { interface AtomicProps { files: AFilesProps; } } export declare const AFilesComponent: import("../../atomic").AtomicComponent; export declare const AFiles: import("../../atomic").Atomic; //# sourceMappingURL=index.d.ts.map