import React from 'react'; import { FlexProps } from '../../Flex'; import { TabsProps } from '../types'; export type TabsTabProps = FlexProps & { /** * The content of the tab */ readonly children?: React.ReactNode; /** * The id of the tab */ readonly id: string; /** * True if the current tab is disabled */ readonly isDisabled?: boolean; /** * True if the current tab contains errors */ readonly isError?: boolean; }; export type StyledTabsTabProps = TabsTabProps & Required> & { activeID?: string; };