@ui5/webcomponents-react
Version:
React Wrapper for UI5 Web Components and additional components
16 lines (15 loc) • 935 B
JavaScript
'use client';
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 };