UNPKG

@ui5/webcomponents-react

Version:

React Wrapper for UI5 Web Components and additional components

15 lines (14 loc) 737 B
'use client'; import '@ui5/webcomponents/dist/Tab.js'; import { withWebComponent } from '@ui5/webcomponents-react-base'; /** * 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! [Tab UI5 Web Component Documentation](https://ui5.github.io/webcomponents/components/Tab) | [Repository](https://github.com/UI5/webcomponents) * @abstract */ const Tab = withWebComponent('ui5-tab', ['additionalText', 'design', 'icon', 'text'], ['disabled', 'movable', 'selected'], ['items'], ['click']); Tab.displayName = 'Tab'; export { Tab };