26 lines
574 B
TypeScript
26 lines
574 B
TypeScript
import * as React from 'react';
|
|
|
|
import Dropdown from './Dropdown';
|
|
|
|
import { ReplaceProps } from './helpers';
|
|
|
|
export interface NavDropdownProps {
|
|
id: string;
|
|
title: React.ReactNode;
|
|
disabled?: boolean;
|
|
active?: boolean;
|
|
menuRole?: string;
|
|
rootCloseEvent?: 'click' | 'mousedown';
|
|
bsPrefix?: string;
|
|
}
|
|
|
|
declare class NavDropdown extends React.Component<
|
|
ReplaceProps<typeof Dropdown, NavDropdownProps>
|
|
> {
|
|
static Item: typeof Dropdown.Item;
|
|
static Divider: typeof Dropdown.Divider;
|
|
static Header: typeof Dropdown.Header;
|
|
}
|
|
|
|
export default NavDropdown;
|