1 | import * as React from 'react';
|
2 | import { DropdownProps as BaseDropdownProps } from '@restart/ui/Dropdown';
|
3 | import { DropDirection } from './DropdownContext';
|
4 | import { BsPrefixProps, BsPrefixRefForwardingComponent } from './helpers';
|
5 | import { AlignType } from './types';
|
6 | export interface DropdownProps extends BaseDropdownProps, BsPrefixProps, Omit<React.HTMLAttributes<HTMLElement>, 'onSelect' | 'children'> {
|
7 | drop?: DropDirection;
|
8 | align?: AlignType;
|
9 | focusFirstItemOnShow?: boolean | 'keyboard';
|
10 | navbar?: boolean;
|
11 | autoClose?: boolean | 'outside' | 'inside';
|
12 | }
|
13 | declare const _default: BsPrefixRefForwardingComponent<"div", DropdownProps> & {
|
14 | Toggle: BsPrefixRefForwardingComponent<"button", import("./DropdownToggle").DropdownToggleProps>;
|
15 | Menu: BsPrefixRefForwardingComponent<"div", import("./DropdownMenu").DropdownMenuProps>;
|
16 | Item: BsPrefixRefForwardingComponent<"a", import("./DropdownItem").DropdownItemProps>;
|
17 | ItemText: BsPrefixRefForwardingComponent<"span", import("./DropdownItemText").DropdownItemTextProps>;
|
18 | Divider: BsPrefixRefForwardingComponent<"hr", import("./DropdownDivider").DropdownDividerProps>;
|
19 | Header: BsPrefixRefForwardingComponent<"div", import("./DropdownHeader").DropdownHeaderProps>;
|
20 | };
|
21 | export default _default;
|