"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ModalDelete = void 0;
const tslib_1 = require("tslib");
const react_1 = tslib_1.__importDefault(require("react"));
const Modal_1 = require("../../../Modal/Modal");
const ModalDelete = ({ deleteData, handleDelete, onHide, roleName, show }) => (react_1.default.createElement(Modal_1.PHXModal, { key: 'deleteModal', dangerActionText: 'X\u00E1c nh\u1EADn', dangerSubmit: true, hiddenSubmit: true, inCard: false, onDangerClick: handleDelete, onHide: onHide, show: show, title: `Xác nhận xoá ${roleName} ` },
    react_1.default.createElement("p", { className: 'text-xs text-gray-500' },
        "B\u1EA1n ch\u1EAFc ch\u1EAFn mu\u1ED1n xo\u00E1",
        ' ',
        deleteData.ids.length > 1 ? (react_1.default.createElement("span", { className: 'font-bold' },
            deleteData.ids.length,
            " ",
            roleName)) : (roleName),
        ' ',
        react_1.default.createElement("span", { className: 'font-bold' }, deleteData.name),
        " \u0111\u00E3 ch\u1ECDn? Thao t\u00E1c n\u00E0y kh\u00F4ng th\u1EC3 ho\u00E0n t\u00E1c.")));
exports.ModalDelete = ModalDelete;
//# sourceMappingURL=modal-delete.js.map