UNPKG

@ui5/webcomponents-react

Version:

React Wrapper for UI5 Web Components and additional components

16 lines (15 loc) 875 B
'use client'; import { withWebComponent } from '../../internal/withWebComponent.js'; /** * The `SuggestionItemCustom` is type of suggestion item, * that can be used to place suggestion items with custom content in the input. * The text property is considered only for autocomplete. * In case the user needs highlighting functionality, check "@ui5/webcomponents-base/dist/util/generateHighlightedMarkup.js" * * __Note__: This is a UI5 Web Component! [Repository](https://github.com/SAP/ui5-webcomponents) | [Documentation](https://sap.github.io/ui5-webcomponents/) * * @since [2.0.0](https://github.com/SAP/ui5-webcomponents/releases/tag/v2.0.0) of __@ui5/webcomponents__. */ const SuggestionItemCustom = withWebComponent('ui5-suggestion-item-custom', ['text'], [], [], []); SuggestionItemCustom.displayName = 'SuggestionItemCustom'; export { SuggestionItemCustom };