UNPKG

@ui5/webcomponents-react

Version:

React Wrapper for UI5 Web Components and additional components

18 lines (17 loc) 848 B
'use client'; import '@ui5/webcomponents/dist/ToolbarButton.js'; import { withWebComponent } from '../../internal/withWebComponent.js'; /** * The `ToolbarButton` represents an abstract action, * used in the `Toolbar`. * * * * __Note__: This is a UI5 Web Component! [Repository](https://github.com/SAP/ui5-webcomponents) | [Documentation](https://sap.github.io/ui5-webcomponents/) * * @since [1.17.0](https://github.com/SAP/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'], [], ['click']); ToolbarButton.displayName = 'ToolbarButton'; export { ToolbarButton };