UNPKG

rsuite

Version:

A suite of react components

29 lines (28 loc) 941 B
import React from 'react'; import NavbarBody from './NavbarBody'; import NavbarHeader from './NavbarHeader'; import NavbarBrand from './NavbarBrand'; import { WithAsProps, RsRefForwardingComponent } from '../internals/types'; export declare const NavbarContext: React.Context<boolean>; type AppearanceType = 'default' | 'inverse' | 'subtle'; export interface NavbarProps extends WithAsProps { appearance?: AppearanceType; classPrefix?: string; } interface NavbarComponent extends RsRefForwardingComponent<'div', NavbarProps> { /** * @deprecated use Navbar.Brand instead */ Header: typeof NavbarHeader; /** * @deprecated use Nav as direct child of Navbar */ Body: typeof NavbarBody; Brand: typeof NavbarBrand; } /** * The `Navbar` component is used to create a navigation header. * @see https://rsuitejs.com/components/navbar */ declare const Navbar: NavbarComponent; export default Navbar;