UNPKG

1.22 kBTypeScriptView Raw
1import * as React from 'react';
2import { DropdownToggleProps } from './DropdownToggle';
3export interface KebabToggleProps extends DropdownToggleProps {
4 /** HTML ID of dropdown toggle */
5 id?: string;
6 /** Anything which can be rendered as dropdown toggle */
7 children?: React.ReactNode;
8 /** Classess applied to root element of dropdown toggle */
9 className?: string;
10 /** Flag to indicate if menu is opened */
11 isOpen?: boolean;
12 /** Label Toggle button */
13 'aria-label'?: string;
14 /** Callback called when toggle is clicked */
15 onToggle?: (value: boolean, event: any) => void;
16 /** Element which wraps toggle */
17 parentRef?: any;
18 /** The menu element */
19 getMenuRef?: () => HTMLElement;
20 /** Forces active state */
21 isActive?: boolean;
22 /** Disables the dropdown toggle */
23 isDisabled?: boolean;
24 /** Display the toggle with no border or background */
25 isPlain?: boolean;
26 /** Type to put on the button */
27 type?: 'button' | 'submit' | 'reset';
28 /** Allows selecting toggle to select parent */
29 bubbleEvent?: boolean;
30}
31export declare const KebabToggle: React.FunctionComponent<KebabToggleProps>;
32//# sourceMappingURL=KebabToggle.d.ts.map
\No newline at end of file