Files
Speedtest-Tracker/conf/site/node_modules/react-bootstrap/Nav.d.ts
Henry Whitaker ea5808047f Tweaked gitignore
gitignore removed all composer and npm files, so automated builds would fail
2020-04-12 21:24:03 +01:00

30 lines
676 B
TypeScript

import * as React from 'react';
import NavItem from './NavItem';
import NavLink from './NavLink';
import { BsPrefixComponent, SelectCallback } from './helpers';
export interface NavProps {
navbarBsPrefix?: string;
cardHeaderBsPrefix?: string;
variant?: 'tabs' | 'pills';
activeKey?: unknown;
defaultActiveKey?: unknown;
fill?: boolean;
justify?: boolean;
onSelect?: SelectCallback;
role?: string;
navbar?: boolean;
onKeyDown?: React.KeyboardEventHandler<this>;
}
declare class Nav<
As extends React.ElementType = 'div'
> extends BsPrefixComponent<As, NavProps> {
static Item: typeof NavItem;
static Link: typeof NavLink;
}
export default Nav;