Gazebo_simulation-Frontend/node_modules/react-bootstrap/Tabs.d.ts

28 lines
651 B
TypeScript
Raw Permalink Normal View History

2020-12-21 11:29:31 -04:00
import * as React from 'react';
import Nav, { NavProps } from './Nav';
import {
BsPrefixComponent,
SelectCallback,
BsPrefixComponentClass,
} from './helpers';
export interface TabsProps {
activeKey?: unknown;
defaultActiveKey?: unknown;
onSelect?: SelectCallback;
variant?: 'tabs' | 'pills';
transition?: false | React.ElementType;
id: string;
mountOnEnter?: boolean;
unmountOnExit?: boolean;
}
declare class Tabs<
// Need to use BsPrefixComponentClass to get proper type checking.
As extends React.ElementType = BsPrefixComponentClass<'div', NavProps>
> extends BsPrefixComponent<As, TabsProps> {}
export default Tabs;