mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 09:25:15 +00:00
21 lines
758 B
TypeScript
21 lines
758 B
TypeScript
|
import React from 'react';
|
||
|
import Dropdown, { DropdownProps } from './Dropdown';
|
||
|
import { BsPrefixRefForwardingComponent } from './helpers';
|
||
|
export interface NavDropdownProps extends DropdownProps, Omit<React.HTMLAttributes<HTMLElement>, 'onSelect' | 'title'> {
|
||
|
id: string;
|
||
|
title: React.ReactNode;
|
||
|
disabled?: boolean;
|
||
|
active?: boolean;
|
||
|
menuRole?: string;
|
||
|
renderMenuOnMount?: boolean;
|
||
|
rootCloseEvent?: 'click' | 'mousedown';
|
||
|
}
|
||
|
declare type NavDropdown = BsPrefixRefForwardingComponent<'div', NavDropdownProps> & {
|
||
|
Item: typeof Dropdown.Item;
|
||
|
ItemText: typeof Dropdown.ItemText;
|
||
|
Divider: typeof Dropdown.Divider;
|
||
|
Header: typeof Dropdown.Header;
|
||
|
};
|
||
|
declare const NavDropdown: NavDropdown;
|
||
|
export default NavDropdown;
|