1 | import * as React from 'react';
|
2 |
|
3 | import Nav from './Nav';
|
4 |
|
5 | import { BsPrefixComponent, SelectCallback } from './helpers';
|
6 |
|
7 | export interface TabsProps {
|
8 | activeKey?: unknown;
|
9 | defaultActiveKey?: unknown;
|
10 | onSelect?: SelectCallback;
|
11 | variant?: 'tabs' | 'pills';
|
12 | transition?: false | React.ElementType;
|
13 | id: string;
|
14 | mountOnEnter?: boolean;
|
15 | unmountOnExit?: boolean;
|
16 | }
|
17 |
|
18 | declare class Tabs<
|
19 | As extends React.ElementType = typeof Nav
|
20 | > extends BsPrefixComponent<As, TabsProps> {}
|
21 |
|
22 | export default Tabs;
|