UNPKG

1.03 kBTypeScriptView Raw
1import * as React from "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 children?: React.ReactNode;
12 /**
13 * Whether this navbar should be fixed to the top of the viewport (using CSS `position: fixed`).
14 */
15 fixedToTop?: boolean;
16}
17/**
18 * Navbar component.
19 *
20 * @see https://blueprintjs.com/docs/#core/components/navbar
21 */
22export declare class Navbar extends AbstractPureComponent2<NavbarProps> {
23 static displayName: string;
24 static Divider: typeof NavbarDivider;
25 static Group: typeof NavbarGroup;
26 static Heading: typeof NavbarHeading;
27 render(): JSX.Element;
28}