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

package.src.components.AboutModal.AboutModalBoxCloseButton.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 { css } from '@patternfly/react-styles';
import styles from '@patternfly/react-styles/css/components/AboutModalBox/about-modal-box';
import { Button } from '../Button';
import TimesIcon from '@patternfly/react-icons/dist/esm/icons/times-icon';

export interface AboutModalBoxCloseButtonProps extends React.HTMLProps {
  /** A callback for when the close button is clicked  */
  onClose?: (event: React.MouseEvent | MouseEvent | KeyboardEvent) => void;
  /** Set close button aria label */
  'aria-label'?: string;
}

export const AboutModalBoxCloseButton: React.FunctionComponent = ({
  onClose = (_e) => undefined as any,
  'aria-label': ariaLabel = 'Close Dialog',
  ...props
}: AboutModalBoxCloseButtonProps) => (
  
); AboutModalBoxCloseButton.displayName = 'AboutModalBoxCloseButton';




© 2015 - 2024 Weber Informatics LLC | Privacy Policy