import React from 'react'; import Item, { ItemProps } from './Item'; declare type Indicator = React.ReactNode | ((item: ItemProps) => React.ReactNode); export interface TabProps { items?: ItemProps[]; active?: any; defaultActive?: any; indicator?: Indicator; stretch?: boolean; vertical?: boolean; onActiveChange?: (item: ItemProps) => void; className?: string; style?: React.CSSProperties; } export interface TabState { active?: any; } export declare class Tab extends React.Component { static Item: typeof Item; static getDerivedStateFromProps(props: TabProps): TabState | null; state: TabState; getIndicator(indicator: Indicator, item: ItemProps): React.ReactNode; handleItemClick: ItemProps['onClick']; renderItems(): JSX.Element[] | null | undefined; render(): JSX.Element | null; } export default Tab;