@ui5/webcomponents-react
Version:
React Wrapper for UI5 Web Components and additional components
14 lines (13 loc) • 582 B
JavaScript
'use client';
import '@ui5/webcomponents/dist/Option.js';
import { withWebComponent } from '@ui5/webcomponents-react-base';
/**
* The `Option` component defines the content of an option in the `Select`.
*
*
*
* __Note:__ This is a UI5 Web Component! [Option UI5 Web Component Documentation](https://ui5.github.io/webcomponents/components/Option) | [Repository](https://github.com/UI5/webcomponents)
*/
const Option = withWebComponent('ui5-option', ['additionalText', 'icon', 'tooltip', 'value'], ['selected'], [], ['click']);
Option.displayName = 'Option';
export { Option };