@patternfly/react-core
Version:
This library provides a set of common React components for use with the PatternFly reference implementation.
20 lines • 797 B
TypeScript
import { Component } from 'react';
export interface MenuToggleActionProps {
/** Additional classes added to the MenuToggleAction */
className?: string;
/** Flag to show if the action button is disabled */
isDisabled?: boolean;
/** A callback for when the action button is clicked */
onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
/** Element to be rendered inside the <button> */
children?: React.ReactNode;
/** Id of the action button */
id?: string;
}
declare class MenuToggleAction extends Component<MenuToggleActionProps> {
static displayName: string;
static defaultProps: MenuToggleActionProps;
render(): import("react/jsx-runtime").JSX.Element;
}
export { MenuToggleAction };
//# sourceMappingURL=MenuToggleAction.d.ts.map