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