@ui5/webcomponents-react
Version:
React Wrapper for UI5 Web Components and additional components
17 lines (16 loc) • 780 B
JavaScript
'use client';
import { withWebComponent } from '../../internal/withWebComponent.js';
/**
* 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! [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 OptionCustom = withWebComponent('ui5-option-custom', ['displayText', 'tooltip', 'value'], ['selected'], [], []);
OptionCustom.displayName = 'OptionCustom';
export { OptionCustom };