@aplus-frontend/ui
Version:
15 lines (14 loc) • 604 B
TypeScript
import { ApDownLoadProps } from '../../business/ap-download/interface';
import { TooltipPlacement } from '@aplus-frontend/antdv/es/tooltip';
export type AttachmentItemProps = {
fileName?: string;
filePath?: string;
[key: string]: any;
};
export type ApAttachmentProps = Required<{
attachmentList: Array<AttachmentItemProps> | [];
textToolTipPlacement?: TooltipPlacement;
fileMorePopoverPlacement?: TooltipPlacement;
toolTipBgColor?: string;
maxWidth?: number;
} & Pick<ApDownLoadProps, 'color' | 'size' | 'needName' | 'disabled'>> & Pick<ApDownLoadProps, 'getOssAccess'>;