diff --git a/packages/dnb-eufemia/src/components/upload/UploadDocs.ts b/packages/dnb-eufemia/src/components/upload/UploadDocs.ts index d4c71fa8cf5..1300608d39c 100644 --- a/packages/dnb-eufemia/src/components/upload/UploadDocs.ts +++ b/packages/dnb-eufemia/src/components/upload/UploadDocs.ts @@ -1,6 +1,11 @@ import { PropertiesTableProps } from '../../shared/types' export const UploadProperties: PropertiesTableProps = { + id: { + doc: 'Unique id used with the useUpload hook to manage the files.', + type: 'string', + status: 'required', + }, acceptedFileTypes: { doc: 'List of accepted file types. Either as string or [AcceptedFileType](/uilib/components/upload/properties/#acceptedfiletype). When providing a list of [AcceptedFileType](/uilib/components/upload/properties/#acceptedfiletype), the accepted file types will be presented in a table(see [example](/uilib/components/upload/demos/#upload-with-file-max-size-based-on-file-type)).', type: ['Array', 'Array'],