@ui5/webcomponents-react
Version:
React Wrapper for UI5 Web Components and additional components
17 lines (16 loc) • 824 B
JavaScript
'use client';
import { withWebComponent } from '@ui5/webcomponents-react-base';
/**
* The `OptionCustom` component defines a custom content of an option in the `Select`.
* A component to be the same way as the standard `Option`.
* The component accepts arbitrary HTML content to allow full customization.
*
*
*
* __Note:__ This is a UI5 Web Component! [OptionCustom UI5 Web Component Documentation](https://ui5.github.io/webcomponents/components/OptionCustom) | [Repository](https://github.com/UI5/webcomponents)
*
* @since [2.0.0](https://github.com/UI5/webcomponents/releases/tag/v2.0.0) of __@ui5/webcomponents__.
*/
const OptionCustom = withWebComponent('ui5-option-custom', ['displayText', 'tooltip', 'value'], ['selected'], [], ['click']);
OptionCustom.displayName = 'OptionCustom';
export { OptionCustom };