UNPKG

@ui5/webcomponents-react

Version:

React Wrapper for UI5 Web Components and additional components

17 lines (16 loc) 993 B
'use client'; import '@ui5/webcomponents/dist/SuggestionItemCustom.js'; import { withWebComponent } from '@ui5/webcomponents-react-base'; /** * 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! [SuggestionItemCustom UI5 Web Component Documentation](https://ui5.github.io/webcomponents/components/SuggestionItemCustom) | [Repository](https://github.com/UI5/webcomponents) * * @since [2.0.0](https://github.com/UI5/webcomponents/releases/tag/v2.0.0) of __@ui5/webcomponents__. */ const SuggestionItemCustom = withWebComponent('ui5-suggestion-item-custom', ['text'], [], [], ['click']); SuggestionItemCustom.displayName = 'SuggestionItemCustom'; export { SuggestionItemCustom };