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