mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2025-12-25 06:49:15 +01:00
21 lines
785 B
TypeScript
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;
|