1 | import PropTypes from 'prop-types';
|
2 | import * as React from 'react';
|
3 | import { TabPaneProps } from './TabPane';
|
4 | export interface TabProps extends Omit<TabPaneProps, 'title'> {
|
5 | title: React.ReactNode;
|
6 | disabled?: boolean;
|
7 | tabClassName?: string;
|
8 | tabAttrs?: Record<string, any>;
|
9 | }
|
10 | declare const _default: React.FC<TabProps> & {
|
11 | Container: {
|
12 | ({ transition, ...props }: import("./TabContainer").TabContainerProps): JSX.Element;
|
13 | propTypes: {
|
14 | id: PropTypes.Requireable<string>;
|
15 | transition: PropTypes.Requireable<NonNullable<boolean | PropTypes.ReactComponentLike | null | undefined>>;
|
16 | mountOnEnter: PropTypes.Requireable<boolean>;
|
17 | unmountOnExit: PropTypes.Requireable<boolean>;
|
18 | generateChildId: PropTypes.Requireable<(...args: any[]) => any>;
|
19 | onSelect: PropTypes.Requireable<(...args: any[]) => any>;
|
20 | activeKey: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
21 | };
|
22 | displayName: string;
|
23 | };
|
24 | Content: import("./helpers").BsPrefixRefForwardingComponent<"div", import("./TabContent").TabContentProps>;
|
25 | Pane: import("./helpers").BsPrefixRefForwardingComponent<"div", TabPaneProps>;
|
26 | };
|
27 | export default _default;
|