UNPKG

1.06 kBTypeScriptView Raw
1import * as React from "react";
2import { SelectCallback, Sizes } from "react-bootstrap";
3
4declare namespace NavItem {
5 export interface NavItemProps extends React.HTMLProps<NavItem> {
6 active?: boolean | undefined;
7 brand?: any; // TODO: Add more specific type
8 bsSize?: Sizes | undefined;
9 bsStyle?: string | undefined;
10 componentClass?: React.ElementType | undefined;
11 defaultNavExpanded?: boolean | undefined;
12 eventKey?: any;
13 fixedBottom?: boolean | undefined;
14 fixedTop?: boolean | undefined;
15 fluid?: boolean | undefined;
16 inverse?: boolean | undefined;
17 linkId?: string | undefined;
18 navExpanded?: boolean | undefined;
19 onSelect?: SelectCallback | undefined;
20 onToggle?: Function | undefined;
21 staticTop?: boolean | undefined;
22 toggleButton?: any; // TODO: Add more specific type
23 toggleNavKey?: string | number | undefined;
24 }
25}
26declare class NavItem extends React.Component<NavItem.NavItemProps> {}
27export = NavItem;