UNPKG

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