@ui5/webcomponents-react
Version:
React Wrapper for UI5 Web Components and additional components
15 lines (14 loc) • 779 B
JavaScript
'use client';
import { withWebComponent } from '@ui5/webcomponents-react-base';
/**
* The `ToolbarSpacer` is an element, used for taking needed space for toolbar items to take 100% width.
* It takes no space in calculating toolbar items width.
*
* __Note:__ This is a UI5 Web Component! [ToolbarSpacer UI5 Web Component Documentation](https://ui5.github.io/webcomponents/components/ToolbarSpacer) | [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 ToolbarSpacer = withWebComponent('ui5-toolbar-spacer', ['overflowPriority', 'width'], ['preventOverflowClosing'], [], []);
ToolbarSpacer.displayName = 'ToolbarSpacer';
export { ToolbarSpacer };