UNPKG

@ui5/webcomponents-react

Version:

React Wrapper for UI5 Web Components and additional components

13 lines (12 loc) 538 B
'use client'; 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 };