Files
Speedtest-Tracker/conf/site/node_modules/react-bootstrap/cjs/SplitButton.d.ts
Henry Whitaker 54ce0ece35 npm and composer
2020-12-13 15:59:35 +00:00

21 lines
785 B
TypeScript

import React from 'react';
import { ButtonType } from './Button';
import { AlignType } from './DropdownMenu';
import { PropsFromToggle } from './DropdownToggle';
import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers';
export interface SplitButtonProps extends PropsFromToggle, BsPrefixPropsWithChildren {
id: string | number;
menuAlign?: AlignType;
menuRole?: string;
onClick?: React.MouseEventHandler<this>;
renderMenuOnMount?: boolean;
rootCloseEvent?: 'click' | 'mousedown';
target?: string;
title: React.ReactNode;
toggleLabel?: string;
type?: ButtonType;
}
declare type SplitButton = BsPrefixRefForwardingComponent<'div', SplitButtonProps>;
declare const SplitButton: SplitButton;
export default SplitButton;