1 | import * as React from 'react';
|
2 | import { BadgeProps } from '../Badge';
|
3 | export interface MenuToggleProps extends Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, 'ref'> {
|
4 |
|
5 | children?: React.ReactNode;
|
6 |
|
7 | className?: string;
|
8 |
|
9 | isExpanded?: boolean;
|
10 |
|
11 | isDisabled?: boolean;
|
12 |
|
13 | isFullHeight?: boolean;
|
14 |
|
15 | isFullWidth?: boolean;
|
16 |
|
17 | variant?: 'default' | 'plain' | 'primary' | 'plainText' | 'secondary';
|
18 |
|
19 | icon?: React.ReactNode;
|
20 |
|
21 | badge?: BadgeProps | React.ReactNode;
|
22 |
|
23 | innerRef?: React.Ref<HTMLButtonElement>;
|
24 | }
|
25 | export declare class MenuToggleBase extends React.Component<MenuToggleProps> {
|
26 | displayName: string;
|
27 | static defaultProps: {
|
28 | className: string;
|
29 | isExpanded: boolean;
|
30 | isDisabled: boolean;
|
31 | isFullWidth: boolean;
|
32 | isFullHeight: boolean;
|
33 | variant: string;
|
34 | };
|
35 | render(): JSX.Element;
|
36 | }
|
37 | export declare const MenuToggle: React.ForwardRefExoticComponent<MenuToggleProps & React.RefAttributes<HTMLButtonElement>>;
|
38 |
|
\ | No newline at end of file |