1 | import * as React from "react";
|
2 | import { Sizes } from "react-bootstrap";
|
3 | import NavbarBrand = require("./NavbarBrand");
|
4 | import NavbarCollapse = require("./NavbarCollapse");
|
5 | import NavbarHeader = require("./NavbarHeader");
|
6 | import NavbarToggle = require("./NavbarToggle");
|
7 |
|
8 | declare namespace Navbar {
|
9 | export interface NavbarProps extends React.HTMLProps<Navbar> {
|
10 | brand?: any;
|
11 | bsSize?: Sizes | undefined;
|
12 | bsStyle?: string | undefined;
|
13 | collapseOnSelect?: boolean | undefined;
|
14 | componentClass?: React.ElementType | undefined;
|
15 | defaultNavExpanded?: boolean | undefined;
|
16 | fixedBottom?: boolean | undefined;
|
17 | fixedTop?: boolean | undefined;
|
18 | fluid?: boolean | undefined;
|
19 | inverse?: boolean | undefined;
|
20 | expanded?: boolean | undefined;
|
21 | onToggle?: Function | undefined;
|
22 | staticTop?: boolean | undefined;
|
23 | toggleButton?: any;
|
24 | toggleNavKey?: string | number | undefined;
|
25 | }
|
26 | }
|
27 | declare class Navbar extends React.Component<Navbar.NavbarProps> {
|
28 | static Brand: typeof NavbarBrand;
|
29 | static Collapse: typeof NavbarCollapse;
|
30 | static Header: typeof NavbarHeader;
|
31 | static Toggle: typeof NavbarToggle;
|
32 | static Link: typeof NavbarLink;
|
33 | static Text: typeof NavbarText;
|
34 | static Form: typeof NavbarForm;
|
35 | }
|
36 | export = Navbar;
|
37 |
|
38 |
|
39 |
|
40 |
|
41 |
|
42 | interface NavbarLinkProps extends React.HTMLProps<NavbarLink> {
|
43 | href: string;
|
44 | onClick?: React.MouseEventHandler<any> | undefined;
|
45 | }
|
46 | declare class NavbarLink extends React.Component<NavbarLinkProps> {}
|
47 |
|
48 | interface NavbarTextProps extends React.HTMLProps<NavbarText> {
|
49 | pullRight?: boolean | undefined;
|
50 | }
|
51 | declare class NavbarText extends React.Component<NavbarTextProps> {}
|
52 |
|
53 | interface NavbarFormProps extends React.HTMLProps<NavbarForm> {
|
54 | componentClass?: React.ElementType | undefined;
|
55 | pullRight?: boolean | undefined;
|
56 | pullLeft?: boolean | undefined;
|
57 | }
|
58 | declare class NavbarForm extends React.Component<NavbarFormProps> {}
|