import { __rest } from "tslib";
import { jsx as _jsx } from "react/jsx-runtime";
import { css } from '@patternfly/react-styles';
import styles from '@patternfly/react-styles/css/components/AboutModalBox/about-modal-box.mjs';
import { Button } from '../Button';
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
export const AboutModalBoxCloseButton = (_a) => {
    var { onClose = (_e) => undefined, 'aria-label': ariaLabel = 'Close Dialog' } = _a, props = __rest(_a, ["onClose", 'aria-label']);
    return (_jsx("div", Object.assign({ className: css(styles.aboutModalBoxClose) }, props, { children: _jsx(Button, { variant: "plain", onClick: onClose, "aria-label": ariaLabel, icon: _jsx(RhMicronsCloseIcon, {}) }) })));
};
AboutModalBoxCloseButton.displayName = 'AboutModalBoxCloseButton';
//# sourceMappingURL=AboutModalBoxCloseButton.js.map