Gazebo_simulation-Frontend/node_modules/react-bootstrap/SplitButton.d.ts

32 lines
733 B
TypeScript
Raw Normal View History

2020-12-21 11:29:31 -04:00
import * as React from 'react';
import DropdownToggle from './DropdownToggle';
import Dropdown from './Dropdown';
import { ReplaceProps } from './helpers';
type PropsFromToggle = Partial<
Pick<
React.ComponentPropsWithRef<typeof DropdownToggle>,
'size' | 'variant' | 'disabled'
>
>;
export interface SplitButtonProps extends PropsFromToggle {
id: string | number;
toggleLabel?: string;
href?: string;
target?: string;
onClick?: React.MouseEventHandler<this>;
title: React.ReactNode;
menuRole?: string;
rootCloseEvent?: 'click' | 'mousedown';
bsPrefix?: string;
}
declare class SplitButton extends React.Component<
ReplaceProps<typeof Dropdown, SplitButtonProps>
> {}
export default SplitButton;