UNPKG

575 BTypeScriptView Raw
1import React from 'react';
2import { SelectCallback, TransitionType } from './helpers';
3import { EventKey } from './types';
4export interface TabsProps extends React.PropsWithChildren<unknown> {
5 activeKey?: EventKey;
6 defaultActiveKey?: EventKey;
7 onSelect?: SelectCallback;
8 variant?: 'tabs' | 'pills';
9 transition?: TransitionType;
10 id?: string;
11 mountOnEnter?: boolean;
12 unmountOnExit?: boolean;
13}
14declare const Tabs: {
15 (props: TabsProps): JSX.Element;
16 propTypes: any;
17 defaultProps: any;
18 displayName: string;
19};
20export default Tabs;