1 | import React from 'react';
|
2 | import { DropdownProps } from './Dropdown';
|
3 | import { PropsFromToggle } from './DropdownToggle';
|
4 | import { AlignType } from './DropdownMenu';
|
5 | import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers';
|
6 | export interface DropdownButtonProps extends DropdownProps, Omit<React.HTMLAttributes<HTMLElement>, 'onSelect' | 'title'>, PropsFromToggle, BsPrefixPropsWithChildren {
|
7 | title: React.ReactNode;
|
8 | menuAlign?: AlignType;
|
9 | menuRole?: string;
|
10 | renderMenuOnMount?: boolean;
|
11 | rootCloseEvent?: 'click' | 'mousedown';
|
12 | }
|
13 | declare type DropdownButton = BsPrefixRefForwardingComponent<'div', DropdownButtonProps>;
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 | declare const DropdownButton: DropdownButton;
|
24 | export default DropdownButton;
|