| 1 |
import { Component } from 'react'; |
| 2 |
export interface MenuToggleActionProps { |
| 3 |
/** Additional classes added to the MenuToggleAction */ |
| 4 |
className?: string; |
| 5 |
/** Flag to show if the action button is disabled */ |
| 6 |
isDisabled?: boolean; |
| 7 |
/** A callback for when the action button is clicked */ |
| 8 |
onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void; |
| 9 |
/** Element to be rendered inside the <button> */ |
| 10 |
children?: React.ReactNode; |
| 11 |
/** Id of the action button */ |
| 12 |
id?: string; |
| 13 |
} |
| 14 |
declare class MenuToggleAction extends Component<MenuToggleActionProps> { |
| 15 |
static displayName: string; |
| 16 |
static defaultProps: MenuToggleActionProps; |
| 17 |
render(): import("react/jsx-runtime").JSX.Element; |
| 18 |
} |
| 19 |
export { MenuToggleAction }; |
| 20 |
//# sourceMappingURL=MenuToggleAction.d.ts.map |