const require_runtime = require("../../../../../_virtual/_rolldown/runtime.js");
let react = require("react");
react = require_runtime.__toESM(react);
let _pisell_utils = require("@pisell/utils");
let _pisell_materials = require("@pisell/materials");
//#region src/components/pay/toB/components/Content/Footer.tsx
const ToBPayFooter = (props) => {
	const { loading, submitDisabled, onCancel, onSubmit } = props;
	return /* @__PURE__ */ react.default.createElement("div", { style: {
		width: "100%",
		display: "flex",
		gap: "20px"
	} }, /* @__PURE__ */ react.default.createElement(_pisell_materials.Button, {
		type: "default",
		size: "large",
		onClick: onCancel,
		disabled: loading,
		style: {
			flex: 1,
			height: 50
		}
	}, _pisell_utils.locales.getText("tobPay.text.cancel")), /* @__PURE__ */ react.default.createElement(_pisell_materials.Button, {
		type: "primary",
		size: "large",
		onClick: onSubmit,
		disabled: submitDisabled,
		loading,
		style: {
			flex: 1,
			height: 50
		}
	}, _pisell_utils.locales.getText("tobPay.text.submit")));
};
//#endregion
exports.default = ToBPayFooter;
