UNPKG

@ui5/webcomponents-react

Version:

React Wrapper for UI5 Web Components and additional components

17 lines (16 loc) 949 B
'use client'; import '@ui5/webcomponents/dist/ComboBoxItemCustom.js'; import { withWebComponent } from '@ui5/webcomponents-react-base'; /** * The `ComboBoxItemCustom` is a combobox item component * that allows placing custom content inside a combobox item. * The `text` property is used for filtering and auto-complete. * For highlighting functionality, see `@ui5/webcomponents-base/dist/util/generateHighlightedMarkup.js`. * * __Note:__ This is a UI5 Web Component! [ComboBoxItemCustom UI5 Web Component Documentation](https://ui5.github.io/webcomponents/components/ComboBoxItemCustom) | [Repository](https://github.com/UI5/webcomponents) * * @since [2.24.0](https://github.com/UI5/webcomponents/releases/tag/v2.24.0) of __@ui5/webcomponents__. */ const ComboBoxItemCustom = withWebComponent('ui5-cb-item-custom', ['text', 'value'], [], [], ['click']); ComboBoxItemCustom.displayName = 'ComboBoxItemCustom'; export { ComboBoxItemCustom };