@ui5/webcomponents-react
Version:
React Wrapper for UI5 Web Components and additional components
20 lines (19 loc) • 1.07 kB
JavaScript
'use client';
import '@ui5/webcomponents/dist/ToolbarSelect.js';
import { withWebComponent } from '@ui5/webcomponents-react-base';
/**
* The `ToolbarSelect` component is used to create a toolbar drop-down list.
* The items inside the `ToolbarSelect` define the available options by using the `ToolbarSelectOption` component.
*
*
*
* `import "@ui5/webcomponents/dist/ToolbarSelectOption.js";` (comes with `ToolbarSelect`)
*
* __Note:__ This is a UI5 Web Component! [ToolbarSelect UI5 Web Component Documentation](https://ui5.github.io/webcomponents/components/ToolbarSelect) | [Repository](https://github.com/UI5/webcomponents)
*
* @since [1.17.0](https://github.com/UI5/webcomponents/releases/tag/v1.17.0) of __@ui5/webcomponents__.
* @abstract
*/
const ToolbarSelect = withWebComponent('ui5-toolbar-select', ['accessibleName', 'accessibleNameRef', 'overflowPriority', 'value', 'valueState', 'width'], ['disabled', 'preventOverflowClosing'], ['label'], ['change', 'close', 'open']);
ToolbarSelect.displayName = 'ToolbarSelect';
export { ToolbarSelect };