import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import Button from "../../../button";
export const ConfirmFooter = ({ onCancel, onConfirm, submitting })=>{
    return /*#__PURE__*/ _jsxs("div", {
        className: "orderly-grid orderly-grid-cols-[1fr_2fr] orderly-mt-5",
        children: [
            /*#__PURE__*/ _jsx("div", {}),
            /*#__PURE__*/ _jsxs("div", {
                className: "orderly-flex orderly-gap-2",
                children: [
                    /*#__PURE__*/ _jsx(Button, {
                        color: "tertiary",
                        fullWidth: true,
                        onClick: onCancel,
                        children: "Cancel"
                    }),
                    /*#__PURE__*/ _jsx(Button, {
                        onClick: onConfirm,
                        fullWidth: true,
                        loading: submitting,
                        children: "Confirm"
                    })
                ]
            })
        ]
    });
};

//# sourceMappingURL=confrimFooter.js.map