import * as React from 'react'; import { Button } from '../Button'; import TimesIcon from '@patternfly/react-icons/dist/esm/icons/times-icon'; import { OUIAProps } from '../../helpers'; export interface ModalBoxCloseButtonProps extends OUIAProps { /** Additional classes added to the close button. */ className?: string; /** A callback for when the close button is clicked. */ onClose?: () => void; /** Value to set the data-ouia-component-id.*/ ouiaId?: number | string; } export const ModalBoxCloseButton: React.FunctionComponent = ({ className = '', onClose = () => undefined as any, ouiaId, ...props }: ModalBoxCloseButtonProps) => ( ); ModalBoxCloseButton.displayName = 'ModalBoxCloseButton';