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