import * as React from "react"; import type { MergeElementProps } from "../../typings"; interface TabBaseProps { /** The label of the tab. */ label?: string; /** * Append to the classNames applied to the component so you can override or * extend the styles. */ className?: string; /** * The leading icon element placed before the label. */ icon?: React.ReactNode; /** * A unique identifier for the tab. * If not provided the index of the tab (which is zero-base) * will be considered as the identifier. */ identifier?: number | string; /** * If `true`, the tab will be active (selected). * @default false */ active?: boolean; /** * The Callback fires when the tab has been clicked. */ onClick?: (identifier: number | string) => void; } export declare type TabProps = MergeElementProps<"div", TabBaseProps>; declare type Component = { (props: TabProps): React.ReactElement | null; propTypes?: React.WeakValidationMap | undefined; displayName?: string | undefined; }; declare const Tab: Component; export default Tab;