import * as React from 'react'; import * as PropTypes from 'prop-types'; import Nav from './Nav'; import Tab from './Tab'; import Content from './Content'; import Panel from './Panel'; declare type TabsNav = typeof Nav; declare type TabsTab = typeof Tab; declare type TabsContent = typeof Content; declare type TabsPanel = typeof Panel; declare const Size: ["small", "default", "large"]; declare type Size = typeof Size[number]; declare const TabPosition: ["top", "left", "right", "bottom"]; declare type TabPosition = typeof TabPosition[number]; declare class Tabs extends React.Component { static displayName: string; static Nav: TabsNav; static Tab: TabsTab; static Content: TabsContent; static Panel: TabsPanel; static Size: ["small", "default", "large"]; static TabPosition: ["top", "left", "right", "bottom"]; static defaultProps: { tabPosition: string; size: string; }; static propTypes: PropTypes.ValidationMap; private change; private renderChildren; render(): JSX.Element; } declare namespace Tabs { interface Props extends React.Props<{}> { activeName: string; size?: Size; tabPosition?: TabPosition; onChange?: (name: string) => void; className?: string; style?: React.CSSProperties; } } export default Tabs;