Gazebo_simulation-Frontend/node_modules/react-bootstrap/esm/SplitButton.d.ts
2020-12-21 10:29:31 -05:00

32 lines
733 B
TypeScript

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;