import { Component, ReactNode } from 'react'; import { TabPane } from './tab-pane'; export declare type TabGroupLevel = 'container' | 'content'; export declare type TabSize = 'small' | 'large'; export interface TabGroupProps { className?: string; /** * Level of the tab group. Tab group with level `'container'` has a greater * padding and wider horizontal separator. Defaults to `'container'`. */ level?: TabGroupLevel; /** * Id of the tab to be shown initially. Only valid when activeId is not set. */ defaultActiveId?: string; /** * Pass in the active tab id to control the state from the outside of component */ activeId?: string; headerSuffix?: ReactNode; size?: TabSize; /** * Called when tab is about to switch. If activeId is set, please change the * activeId value here to manually control the state. * @param pane TabPane about to switch to */ onTabSwitch?(pane: TabPane): void; } export interface ITabGroup extends Component { }