UNPKG

@ui5/webcomponents-react

Version:

React Wrapper for UI5 Web Components and additional components

15 lines (14 loc) 696 B
'use client'; import '@ui5/webcomponents/dist/Tab.js'; import { withWebComponent } from '../../internal/withWebComponent.js'; /** * The `Tab` represents a selectable item inside a `TabContainer`. * It defines both the item in the tab strip (top part of the `TabContainer`) and the * content that is presented to the user once the tab is selected. * * __Note__: This is a UI5 Web Component! [Repository](https://github.com/SAP/ui5-webcomponents) | [Documentation](https://sap.github.io/ui5-webcomponents/) * @abstract */ const Tab = withWebComponent('ui5-tab', ['additionalText', 'design', 'icon', 'text'], ['disabled', 'selected'], ['items'], []); Tab.displayName = 'Tab'; export { Tab };