You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
471 B

import * as React from 'react';
import { EventKey, SelectCallback, TransitionComponent } from './types';
export interface TabContextType {
onSelect: SelectCallback;
activeKey?: EventKey;
transition?: TransitionComponent;
mountOnEnter: boolean;
unmountOnExit: boolean;
getControlledId: (key: EventKey) => any;
getControllerId: (key: EventKey) => any;
}
declare const TabContext: React.Context<TabContextType | null>;
export default TabContext;