@ui5/webcomponents-react
Version:
React Wrapper for UI5 Web Components and additional components
25 lines (24 loc) • 1.26 kB
TypeScript
import '@ui5/webcomponents/dist/TabSeparator.js';
import type { CommonProps, Ui5DomRef } from '../../types/index.js';
interface TabSeparatorAttributes {
}
interface TabSeparatorDomRef extends Required<TabSeparatorAttributes>, Ui5DomRef {
/**
* Returns the DOM reference of the separator that is placed in the header.
*
* **Note:** Separators, placed in the `items` slot of other tabs are not shown in the header. Calling this method on such separators will return `undefined`.
* @returns {HTMLElement | undefined}
*/
getDomRefInStrip: () => HTMLElement | undefined;
}
interface TabSeparatorPropTypes extends TabSeparatorAttributes, CommonProps {
}
/**
* The `TabSeparator` represents a vertical line to separate tabs inside a `TabContainer`.
*
* __Note__: This is a UI5 Web Component! [Repository](https://github.com/SAP/ui5-webcomponents) | [Documentation](https://sap.github.io/ui5-webcomponents/)
* @abstract
*/
declare const TabSeparator: import("react").ForwardRefExoticComponent<TabSeparatorPropTypes & import("../../internal/withWebComponent.js").WithWebComponentPropTypes & import("react").RefAttributes<TabSeparatorDomRef>>;
export { TabSeparator };
export type { TabSeparatorDomRef, TabSeparatorPropTypes };