UNPKG

@ui5/webcomponents-react

Version:

React Wrapper for UI5 Web Components and additional components

34 lines (33 loc) 1.85 kB
import '@ui5/webcomponents/dist/ToolbarSeparator.js'; import type ToolbarItemOverflowBehavior from '@ui5/webcomponents/dist/types/ToolbarItemOverflowBehavior.js'; import type { CommonProps, Ui5DomRef } from '@ui5/webcomponents-react-base'; interface ToolbarSeparatorAttributes { /** * Property used to define the access of the item to the overflow Popover. If "NeverOverflow" option is set, * the item never goes in the Popover, if "AlwaysOverflow" - it never comes out of it. * @default "Default" */ overflowPriority?: ToolbarItemOverflowBehavior | keyof typeof ToolbarItemOverflowBehavior; /** * Defines if the toolbar overflow popup should close upon interaction with the item. * It will close by default. * @default false */ preventOverflowClosing?: boolean; } interface ToolbarSeparatorDomRef extends Required<ToolbarSeparatorAttributes>, Ui5DomRef { } interface ToolbarSeparatorPropTypes extends ToolbarSeparatorAttributes, Omit<CommonProps, keyof ToolbarSeparatorAttributes> { } /** * The `ToolbarSeparator` is an element, used for visual separation between two elements. * It takes no space in calculating toolbar items width. * * __Note:__ This is a UI5 Web Component! [ToolbarSeparator UI5 Web Component Documentation](https://ui5.github.io/webcomponents/components/ToolbarSeparator) | [Repository](https://github.com/UI5/webcomponents) * * @since [1.17.0](https://github.com/UI5/webcomponents/releases/tag/v1.17.0) of __@ui5/webcomponents__. * @abstract */ declare const ToolbarSeparator: import("react").ForwardRefExoticComponent<ToolbarSeparatorPropTypes & import("@ui5/webcomponents-react-base").WithWebComponentPropTypes & import("react").RefAttributes<ToolbarSeparatorDomRef>>; export { ToolbarSeparator }; export type { ToolbarSeparatorDomRef, ToolbarSeparatorPropTypes };