import type { MouseEvent, ReactNode } from 'react'; import React from 'react'; import type { Props as TabProps } from '../Tab/Tab'; interface Props extends Omit { /** * Content of the component * * @type Tab */ children: ReactNode; /** * Allows to pass default tab explicitly * * @default children[0].props.label */ defaultTab?: string; /** * Allows to stretch tabs list to full container width */ isFullWidth?: boolean; /** * Allows to reduce gap between tabs in `underlined` type */ isNarrowUnderlined?: boolean; /** * Allows to pass common mouse click callback to all children */ onClick?: (e: MouseEvent) => void; /** * Allows to pass a custom className */ className?: string; } /** @visibleName Tabs */ declare const Tabs: ({ type, "data-testid": dataTestId, ...props }: Props) => React.JSX.Element | null; /** @component */ export default Tabs;