UNPKG

@ui5/webcomponents-react

Version:

React Wrapper for UI5 Web Components and additional components

17 lines (16 loc) 964 B
'use client'; import '@ui5/webcomponents-fiori/dist/UploadCollection.js'; import { withWebComponent } from '@ui5/webcomponents-react-base'; /** * This component allows you to represent files before uploading them to a server, with the help of `UploadCollectionItem`. * It also allows you to show already uploaded files. * * * * `import "@ui5/webcomponents-fiori/dist/UploadCollectionItem.js";` (for `UploadCollectionItem`) * * __Note:__ This is a UI5 Web Component! [UploadCollection UI5 Web Component Documentation](https://ui5.github.io/webcomponents/components/fiori/UploadCollection) | [Repository](https://github.com/UI5/webcomponents) */ const UploadCollection = withWebComponent('ui5-upload-collection', ['accessibleName', 'noDataDescription', 'noDataHeaderLevel', 'noDataText', 'selectionMode'], ['hideDragOverlay'], ['header'], ['item-delete', 'selection-change']); UploadCollection.displayName = 'UploadCollection'; export { UploadCollection };