"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.WarningModal = void 0;
var React = require("react");
var react_bootstrap_1 = require("react-bootstrap");
var html_react_parser_1 = require("html-react-parser");
var WarningModal = function (_a) {
    var bodyText = _a.bodyText, modalTitle = _a.modalTitle, onHide = _a.onHide, show = _a.show;
    return (React.createElement(React.Fragment, null,
        React.createElement(react_bootstrap_1.Modal, { show: show, onHide: onHide, backdrop: "static", keyboard: false },
            React.createElement(react_bootstrap_1.Modal.Header, { closeButton: true },
                React.createElement(react_bootstrap_1.Modal.Title, null, modalTitle)),
            React.createElement(react_bootstrap_1.Modal.Body, null, bodyText.map(function (item) {
                return (0, html_react_parser_1.default)(item);
            })),
            React.createElement(react_bootstrap_1.Modal.Footer, null,
                React.createElement("button", { type: "button", onClick: onHide, className: "primary-btn" }, "Ok")))));
};
exports.WarningModal = WarningModal;
//# sourceMappingURL=WarningModal.js.map