UNPKG

872 BTypeScriptView Raw
1import * as React from "react";
2import { AbstractPureComponent } from "../../common";
3import { HTMLDivProps, Props } from "../../common/props";
4import { NavbarDivider } from "./navbarDivider";
5import { NavbarGroup } from "./navbarGroup";
6import { NavbarHeading } from "./navbarHeading";
7export interface NavbarProps extends Props, HTMLDivProps {
8 children?: React.ReactNode;
9 /**
10 * Whether this navbar should be fixed to the top of the viewport (using CSS `position: fixed`).
11 */
12 fixedToTop?: boolean;
13}
14/**
15 * Navbar component.
16 *
17 * @see https://blueprintjs.com/docs/#core/components/navbar
18 */
19export declare class Navbar extends AbstractPureComponent<NavbarProps> {
20 static displayName: string;
21 static Divider: typeof NavbarDivider;
22 static Group: typeof NavbarGroup;
23 static Heading: typeof NavbarHeading;
24 render(): JSX.Element;
25}