import * as React from 'react'; export interface TabBarProps { prefixCls?: string; className?: string; style?: React.CSSProperties; activeTab: number; renderTab: (t: any) => React.ReactNode; goToTab?: (index: number) => void; onTabClick?: (tab: any, index: number) => void; tabs: any[]; tabBarTextStyle?: React.CSSProperties; tabBarActiveTextColor?: string; tabBarInactiveTextColor?: string; } export default class TabBar extends React.PureComponent { static defaultProps: { prefixCls: string; onTabClick: () => null; activeTab: number; }; constructor(props: TabBarProps); onClick: (index: number) => void; renderTab: (t: any, i: number) => JSX.Element; render(): JSX.Element; }