All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.src.components.MenuToggle.MenuToggleAction.tsx Maven / Gradle / Ivy

Go to download

This library provides a set of common React components for use with the PatternFly reference implementation.

The newest version!
import * as React from 'react';
import styles from '@patternfly/react-styles/css/components/MenuToggle/menu-toggle';
import { css } from '@patternfly/react-styles';

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) => void;
  /** Element to be rendered inside the 
    );
  }
}

export { MenuToggleAction };




© 2015 - 2024 Weber Informatics LLC | Privacy Policy