import { Tab as MUITab, tabClasses as muiTabClasses, TabProps as MUITabProps, } from '@mui/material'; import { FC, useMemo } from 'react'; import { BLUE, BORDER_RADIUS, GREY } from '../lib/consts/DEFAULT_THEME'; import { BodyText } from './Text'; const Tab: FC = ({ label: originalLabel, ...restTabProps }) => { const label = useMemo( () => typeof originalLabel === 'string' ? ( {originalLabel} ) : ( originalLabel ), [originalLabel], ); return ( ); }; export default Tab;