import React from "react";
import { locales } from "@pisell/utils";
import { PisellCountdown } from "@pisell/materials";
import "./index.less";
//#region src/components/pay/toC/PayCountdown/index.tsx
/**
* @title: 支付倒计时
* @description:
* @param {*} param1
* @return {*}
* @Author: zhiwei.Wang
* @Date: 2024-08-16 10:51
*/
const PayCountdown = ({ time = 0 }) => {
	return /* @__PURE__ */ React.createElement("div", { className: "pay-countdown" }, /* @__PURE__ */ React.createElement("span", { className: "countdown-title" }, locales.getText("tocPay.text.completePaymentIn"), " "), /* @__PURE__ */ React.createElement(PisellCountdown, {
		className: "countdown-time",
		leftTime: time * 1e3,
		format: "mm:ss"
	}));
};
//#endregion
export { PayCountdown as default };
