UNPKG

940 BTypeScriptView 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}
17export declare class Navbar extends AbstractPureComponent2<NavbarProps> {
18 static displayName: string;
19 static Divider: typeof NavbarDivider;
20 static Group: typeof NavbarGroup;
21 static Heading: typeof NavbarHeading;
22 render(): JSX.Element;
23}