UNPKG

573 BTypeScriptView Raw
1import * as React from "react";
2import { Omit } from "react-bootstrap";
3import { DropdownBaseProps } from "./Dropdown";
4
5declare namespace NavDropdown {
6 export interface NavDropdownBaseProps extends DropdownBaseProps {
7 active?: boolean | undefined;
8 noCaret?: boolean | undefined;
9 eventKey?: any;
10 title: React.ReactNode;
11 }
12
13 export type NavDropdownProps = NavDropdownBaseProps & Omit<React.HTMLProps<NavDropdown>, "title">;
14}
15declare class NavDropdown extends React.Component<NavDropdown.NavDropdownProps> {}
16export = NavDropdown;