import React from 'react'; import { UploadProps } from './upload.type'; import { ButtonProps } from '../button/button.type'; export type ButtonUploadInnerPropsType = Pick, 'listType' | 'imageStyle' | 'canDelete' | 'showUploadList' | 'customResult' | 'multiple' | 'leftHandler' | 'onPreview' | 'renderContent' | 'recoverAble'>; export interface UploadButtonProps extends Omit, keyof ButtonUploadInnerPropsType>, Pick { /** * @cn 上传中按钮的内容,如果是字符串默认会有spin loading * @en content of uploading, will have spin if a string */ loading?: React.ReactNode; /** * @cn 按钮默认内容 * @en Button default content */ placeholder?: React.ReactNode; } //# sourceMappingURL=button.type.d.ts.map