UNPKG

987 BTypeScriptView Raw
1import * as React from 'react';
2import { DropdownProps } from './Dropdown';
3import { DropdownMenuVariant } from './DropdownMenu';
4import { BsPrefixRefForwardingComponent } from './helpers';
5export interface NavDropdownProps extends Omit<DropdownProps, 'title'> {
6 title: React.ReactNode;
7 disabled?: boolean;
8 active?: boolean;
9 menuRole?: string;
10 renderMenuOnMount?: boolean;
11 rootCloseEvent?: 'click' | 'mousedown';
12 menuVariant?: DropdownMenuVariant;
13}
14declare const _default: BsPrefixRefForwardingComponent<"div", NavDropdownProps> & {
15 Item: BsPrefixRefForwardingComponent<"a", import("./DropdownItem").DropdownItemProps>;
16 ItemText: BsPrefixRefForwardingComponent<"span", import("./DropdownItemText").DropdownItemTextProps>;
17 Divider: BsPrefixRefForwardingComponent<"hr", import("./DropdownDivider").DropdownDividerProps>;
18 Header: BsPrefixRefForwardingComponent<"div", import("./DropdownHeader").DropdownHeaderProps>;
19};
20export default _default;