"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "ConfirmFooter", {
    enumerable: true,
    get: function() {
        return ConfirmFooter;
    }
});
const _jsxruntime = require("react/jsx-runtime");
const _button = /*#__PURE__*/ _interop_require_default(require("../../../button"));
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
const ConfirmFooter = ({ onCancel, onConfirm, submitting })=>{
    return /*#__PURE__*/ (0, _jsxruntime.jsxs)("div", {
        className: "orderly-grid orderly-grid-cols-[1fr_2fr] orderly-mt-5",
        children: [
            /*#__PURE__*/ (0, _jsxruntime.jsx)("div", {}),
            /*#__PURE__*/ (0, _jsxruntime.jsxs)("div", {
                className: "orderly-flex orderly-gap-2",
                children: [
                    /*#__PURE__*/ (0, _jsxruntime.jsx)(_button.default, {
                        color: "tertiary",
                        fullWidth: true,
                        onClick: onCancel,
                        children: "Cancel"
                    }),
                    /*#__PURE__*/ (0, _jsxruntime.jsx)(_button.default, {
                        onClick: onConfirm,
                        fullWidth: true,
                        loading: submitting,
                        children: "Confirm"
                    })
                ]
            })
        ]
    });
};

//# sourceMappingURL=confrimFooter.js.map