@ui5/webcomponents-react
Version:
React Wrapper for UI5 Web Components and additional components
18 lines (17 loc) • 907 B
JavaScript
'use client';
import '@ui5/webcomponents/dist/ToolbarButton.js';
import { withWebComponent } from '@ui5/webcomponents-react-base';
/**
* The `ToolbarButton` represents an abstract action,
* used in the `Toolbar`.
*
*
*
* __Note:__ This is a UI5 Web Component! [ToolbarButton UI5 Web Component Documentation](https://ui5.github.io/webcomponents/components/ToolbarButton) | [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 ToolbarButton = withWebComponent('ui5-toolbar-button', ['accessibilityAttributes', 'accessibleName', 'accessibleNameRef', 'design', 'endIcon', 'icon', 'overflowPriority', 'text', 'tooltip', 'width'], ['disabled', 'preventOverflowClosing', 'showOverflowText'], [], ['click']);
ToolbarButton.displayName = 'ToolbarButton';
export { ToolbarButton };