UNPKG

@blueprintjs/core

Version:
26 lines (25 loc) 872 B
import * as React from "react"; import { AbstractPureComponent } from "../../common"; import { HTMLDivProps, Props } from "../../common/props"; import { NavbarDivider } from "./navbarDivider"; import { NavbarGroup } from "./navbarGroup"; import { NavbarHeading } from "./navbarHeading"; export interface NavbarProps extends Props, HTMLDivProps { children?: React.ReactNode; /** * Whether this navbar should be fixed to the top of the viewport (using CSS `position: fixed`). */ fixedToTop?: boolean; } /** * Navbar component. * * @see https://blueprintjs.com/docs/#core/components/navbar */ export declare class Navbar extends AbstractPureComponent<NavbarProps> { static displayName: string; static Divider: typeof NavbarDivider; static Group: typeof NavbarGroup; static Heading: typeof NavbarHeading; render(): JSX.Element; }