1 | import React from 'react';
|
2 | import { ButtonType } from './Button';
|
3 | import { DropdownProps } from './Dropdown';
|
4 | import { AlignType } from './DropdownMenu';
|
5 | import { PropsFromToggle } from './DropdownToggle';
|
6 | import { BsPrefixPropsWithChildren } from './helpers';
|
7 | export interface SplitButtonProps extends DropdownProps, Omit<React.HTMLAttributes<HTMLElement>, 'onSelect' | 'title' | 'id'>, PropsFromToggle, BsPrefixPropsWithChildren {
|
8 | id: string | number;
|
9 | menuAlign?: AlignType;
|
10 | menuRole?: string;
|
11 | renderMenuOnMount?: boolean;
|
12 | rootCloseEvent?: 'click' | 'mousedown';
|
13 | target?: string;
|
14 | title: React.ReactNode;
|
15 | toggleLabel?: string;
|
16 | type?: ButtonType;
|
17 | }
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 | declare const SplitButton: React.ForwardRefExoticComponent<SplitButtonProps & React.RefAttributes<HTMLElement>>;
|
29 | export default SplitButton;
|