UNPKG

@ui5/webcomponents-react

Version:

React Wrapper for UI5 Web Components and additional components

13 lines (12 loc) 916 B
'use client'; import { withWebComponent } from '@ui5/webcomponents-react-base'; /** * A component to be used within the `UploadCollection`. * * * * __Note:__ This is a UI5 Web Component! [UploadCollectionItem UI5 Web Component Documentation](https://ui5.github.io/webcomponents/components/fiori/UploadCollectionItem) | [Repository](https://github.com/UI5/webcomponents) */ const UploadCollectionItem = withWebComponent('ui5-upload-collection-item', ['accessibilityAttributes', 'accessibleRole', 'file', 'fileName', 'highlight', 'progress', 'tooltip', 'type', 'uploadState'], ['disableDeleteButton', 'fileNameClickable', 'hideDeleteButton', 'hideRetryButton', 'hideTerminateButton', 'navigated', 'selected'], ['deleteButton', 'thumbnail'], ['click', 'detail-click', 'file-name-click', 'rename', 'retry', 'terminate']); UploadCollectionItem.displayName = 'UploadCollectionItem'; export { UploadCollectionItem };