UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

10 lines (9 loc) 575 B
import type { ValueProps } from '../../types'; import type { ListFormatProps } from '../../../../components/list-format'; import type { UploadFile } from '../../../../components/upload/types'; import type { FieldUploadProps as FieldUploadProps } from '../../Field/Upload/Upload'; export type ValueUploadProps = ValueProps<Array<UploadFile>> & Omit<ListFormatProps, 'value'> & Pick<FieldUploadProps, 'download' | 'onFileClick'> & { displaySize?: boolean; }; declare function Upload(props: ValueUploadProps): import("react/jsx-runtime").JSX.Element; export default Upload;