1 | import NavbarBrand from './NavbarBrand';
|
2 | import NavbarCollapse from './NavbarCollapse';
|
3 | import NavbarToggle from './NavbarToggle';
|
4 | import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent, SelectCallback } from './helpers';
|
5 | declare const NavbarText: BsPrefixRefForwardingComponent<"span", unknown>;
|
6 | export interface NavbarProps extends BsPrefixPropsWithChildren {
|
7 | variant?: 'light' | 'dark';
|
8 | expand?: boolean | 'sm' | 'md' | 'lg' | 'xl';
|
9 | bg?: string;
|
10 | fixed?: 'top' | 'bottom';
|
11 | sticky?: 'top';
|
12 | onToggle?: (expanded: boolean) => void;
|
13 | onSelect?: SelectCallback;
|
14 | collapseOnSelect?: boolean;
|
15 | expanded?: boolean;
|
16 | role?: string;
|
17 | }
|
18 | declare type Navbar = BsPrefixRefForwardingComponent<'nav', NavbarProps> & {
|
19 | Brand: typeof NavbarBrand;
|
20 | Collapse: typeof NavbarCollapse;
|
21 | Text: typeof NavbarText;
|
22 | Toggle: typeof NavbarToggle;
|
23 | };
|
24 | declare const Navbar: Navbar;
|
25 | export default Navbar;
|