import type { TabProps as TabPropsImpl } from 'react-tabs'; import { Tab as TabImpl } from 'react-tabs'; import clsx from 'clsx'; import { globalIDs } from '@/utils/constants'; import { type Titled } from '../props'; interface TabLabelProps extends Omit, Titled { /** Label to display in the tab. */ label?: string; } /** * Displays a tab header with a label. */ export function TabLabel({ label, title, titleHtml, hideTitle, className, role = 'tab', ...otherProps }: TabLabelProps) { return ( {label} ); } TabLabel.tabsRole = 'Tab';