1 | import React from 'react';
|
2 | import NavItem from './NavItem';
|
3 | import NavLink from './NavLink';
|
4 | import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent, SelectCallback } from './helpers';
|
5 | import { EventKey } from './types';
|
6 | export interface NavProps extends BsPrefixPropsWithChildren {
|
7 | navbarBsPrefix?: string;
|
8 | cardHeaderBsPrefix?: string;
|
9 | variant?: 'tabs' | 'pills';
|
10 | activeKey?: EventKey;
|
11 | defaultActiveKey?: EventKey;
|
12 | fill?: boolean;
|
13 | justify?: boolean;
|
14 | onSelect?: SelectCallback;
|
15 | role?: string;
|
16 | navbar?: boolean;
|
17 | navbarScroll?: boolean;
|
18 | onKeyDown?: React.KeyboardEventHandler<this>;
|
19 | }
|
20 | declare type Nav = BsPrefixRefForwardingComponent<'div', NavProps> & {
|
21 | Item: typeof NavItem;
|
22 | Link: typeof NavLink;
|
23 | };
|
24 | declare const Nav: Nav;
|
25 | export default Nav;
|