"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const react_1 = tslib_1.__importDefault(require("react"));
const react_core_1 = require("@patternfly/react-core");
const ResetHostModal = ({ isOpen, hostname, onClose, onReset }) => (react_1.default.createElement(react_core_1.Modal, { isOpen: isOpen, onClose: onClose, variant: react_core_1.ModalVariant.small },
    react_1.default.createElement(react_core_1.ModalHeader, { title: "Reset Host" }),
    react_1.default.createElement(react_core_1.ModalBody, null,
        "Are you sure you want to reset host",
        ` ${hostname || ''}`,
        " ?"),
    react_1.default.createElement(react_core_1.ModalFooter, null,
        react_1.default.createElement(react_core_1.Button, { "data-testid": "reset-host-submit", key: "confirm", variant: react_core_1.ButtonVariant.danger, onClick: onReset }, "Reset"),
        react_1.default.createElement(react_core_1.Button, { key: "cancel", variant: react_core_1.ButtonVariant.link, onClick: onClose }, "Cancel"))));
exports.default = ResetHostModal;
//# sourceMappingURL=ResetHostModal.js.map