UNPKG

react-bootstrap

Version:

Bootstrap 4 components built with React

25 lines (19 loc) 609 B
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;