import React from 'react';
import { Button } from '@pisell/materials';
import { locales } from '@pisell/utils';
var ToBPayFooter = function ToBPayFooter(props) {
  var loading = props.loading,
    submitDisabled = props.submitDisabled,
    onCancel = props.onCancel,
    onSubmit = props.onSubmit;
  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: loading,
    style: {
      flex: 1,
      height: 50
    }
  }, locales.getText('tobPay.text.submit')));
};
export default ToBPayFooter;