@blueprintjs/core
Version:
Core styles & components
29 lines (28 loc) • 1.03 kB
TypeScript
import * as React from "react";
import { AbstractPureComponent2 } from "../../common";
import { HTMLDivProps, Props } from "../../common/props";
import { NavbarDivider } from "./navbarDivider";
import { NavbarGroup } from "./navbarGroup";
import { NavbarHeading } from "./navbarHeading";
export { INavbarDividerProps, NavbarDividerProps } from "./navbarDivider";
export declare type NavbarProps = INavbarProps;
/** @deprecated use NavbarProps */
export interface INavbarProps 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 AbstractPureComponent2<NavbarProps> {
static displayName: string;
static Divider: typeof NavbarDivider;
static Group: typeof NavbarGroup;
static Heading: typeof NavbarHeading;
render(): JSX.Element;
}