UNPKG

choerodon-ui

Version:

An enterprise-class UI design language and React-based implementation

7 lines (6 loc) 353 B
import { Utils } from 'choerodon-ui/dataset'; import AttachmentFile from '../data-set/AttachmentFile'; import { Sort } from './Attachment'; declare const formatFileSize: typeof Utils.formatFileSize; export { formatFileSize, }; export declare function sortAttachments(attachments: AttachmentFile[] | undefined, sort: Sort): AttachmentFile[] | undefined;