UNPKG

908 BTypeScriptView Raw
1/// <reference types="react" />
2import { AbstractPureComponent2 } from "../../common";
3import { HTMLDivProps, Props } from "../../common/props";
4import { NavbarDivider } from "./navbarDivider";
5import { NavbarGroup } from "./navbarGroup";
6import { NavbarHeading } from "./navbarHeading";
7export { INavbarDividerProps, NavbarDividerProps } from "./navbarDivider";
8export declare type NavbarProps = INavbarProps;
9/** @deprecated use NavbarProps */
10export interface INavbarProps extends Props, HTMLDivProps {
11 /**
12 * Whether this navbar should be fixed to the top of the viewport (using CSS `position: fixed`).
13 */
14 fixedToTop?: boolean;
15}
16export declare class Navbar extends AbstractPureComponent2<NavbarProps> {
17 static displayName: string;
18 static Divider: typeof NavbarDivider;
19 static Group: typeof NavbarGroup;
20 static Heading: typeof NavbarHeading;
21 render(): JSX.Element;
22}