import React from 'react';
import { PisellText } from '@pisell/materials';
import { locales } from '@pisell/utils';
import "./index.less";
/**
 * @title: 支付金额
 * @description:
 * @param {*} param1
 * @return {*}
 * @Author: zhiwei.Wang
 * @Date: 2024-08-16 10:50
 */
var PayAmount = function PayAmount(_ref) {
  var _ref$amount = _ref.amount,
    amount = _ref$amount === void 0 ? 0 : _ref$amount;
  return /*#__PURE__*/React.createElement("div", {
    className: "pay-amount"
  }, /*#__PURE__*/React.createElement("span", {
    className: "amount-title"
  }, locales.getText('tocPay.text.total')), /*#__PURE__*/React.createElement(PisellText.Amount, {
    value: amount,
    className: "amount-value"
  }));
};
export default PayAmount;