123456789101112131415161718192021222324 |
- import * as React from 'react';
-
- import TabContainer from './TabContainer';
- import TabContent from './TabContent';
- import TabPane from './TabPane';
-
- import { BsPrefixComponent } from './helpers';
-
- export interface TabProps extends React.ComponentPropsWithRef<typeof TabPane> {
- eventKey?: unknown;
- title: React.ReactNode;
- disabled?: boolean;
- tabClassName?: string;
- }
-
- declare class Tab<
- As extends React.ElementType = 'div'
- > extends BsPrefixComponent<As, TabProps> {
- static Container: typeof TabContainer;
- static Content: typeof TabContent;
- static Pane: typeof TabPane;
- }
-
- export default Tab;
|