UNPKG

@ui5/webcomponents-react

Version:

React Wrapper for UI5 Web Components and additional components

15 lines (14 loc) 786 B
'use client'; import '@ui5/webcomponents/dist/ListItemCustom.js'; import { withWebComponent } from '../../internal/withWebComponent.js'; /** * A component to be used as custom list item within the `List` * the same way as the standard `ListItemStandard`. * * The component accepts arbitrary HTML content to allow full customization. * * __Note__: This is a UI5 Web Component! [Repository](https://github.com/SAP/ui5-webcomponents) | [Documentation](https://sap.github.io/ui5-webcomponents/) */ const ListItemCustom = withWebComponent('ui5-li-custom', ['accessibilityAttributes', 'accessibleName', 'highlight', 'tooltip', 'type'], ['movable', 'navigated', 'selected'], ['deleteButton'], ['detail-click']); ListItemCustom.displayName = 'ListItemCustom'; export { ListItemCustom };