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