1 | import * as React from 'react';
|
2 | import { ButtonProps, CommonButtonProps } from './Button';
|
3 | import { BsPrefixRefForwardingComponent } from './helpers';
|
4 | export interface DropdownToggleProps extends Omit<ButtonProps, 'as'> {
|
5 | as?: React.ElementType;
|
6 | split?: boolean;
|
7 | childBsPrefix?: string;
|
8 | }
|
9 | type DropdownToggleComponent = BsPrefixRefForwardingComponent<'button', DropdownToggleProps>;
|
10 | export type PropsFromToggle = Partial<Pick<React.ComponentPropsWithRef<DropdownToggleComponent>, CommonButtonProps>>;
|
11 | declare const DropdownToggle: DropdownToggleComponent;
|
12 | export default DropdownToggle;
|