Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F123216214
SplitButton.d.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Jul 25, 18:58
Size
1 KB
Mime Type
text/x-java
Expires
Sun, Jul 27, 18:58 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
27663018
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
SplitButton.d.ts
View Options
import * as React from 'react';
import { ButtonType } from '@restart/ui/Button';
import { DropdownProps } from './Dropdown';
import { PropsFromToggle } from './DropdownToggle';
import { BsPrefixProps } from './helpers';
export interface SplitButtonProps extends Omit<DropdownProps, 'title'>, PropsFromToggle, BsPrefixProps {
menuRole?: string;
renderMenuOnMount?: boolean;
rootCloseEvent?: 'click' | 'mousedown';
target?: string;
title: React.ReactNode;
toggleLabel?: string;
type?: ButtonType;
flip?: boolean;
}
/**
* A convenience component for simple or general use split button dropdowns. Renders a
* `ButtonGroup` containing a `Button` and a `Button` toggle for the `Dropdown`. All `children`
* are passed directly to the default `Dropdown.Menu`. This component accepts all of [`Dropdown`'s
* props](#dropdown-props).
*
* _All unknown props are passed through to the `Dropdown` component._
* The Button `variant`, `size` and `bsPrefix` props are passed to the button and toggle,
* and menu-related props are passed to the `Dropdown.Menu`
*/
declare const SplitButton: React.ForwardRefExoticComponent<SplitButtonProps & React.RefAttributes<HTMLElement>>;
export default SplitButton;
Event Timeline
Log In to Comment