tf-checkout-react 1.6.5-beta.4 → 1.6.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,9 @@
1
+ /// <reference types="react" />
1
2
  import './style.css';
2
3
  import { ThemeOptions } from '@mui/material';
3
4
  import { CSSProperties } from '@mui/styles';
4
5
  import { AxiosError } from 'axios';
5
6
  import { FormikHelpers, FormikValues } from 'formik';
6
- import { ReactNode } from 'react';
7
7
  import { IBillingInfoData } from '../../types';
8
8
  export interface IBillingInfoPage {
9
9
  data?: IBillingInfoData[];
@@ -53,7 +53,6 @@ export interface IBillingInfoPage {
53
53
  customFieldsOrderKeys?: string[];
54
54
  customFieldsTicketHolderKeys?: string[];
55
55
  onPendingVerification?: () => void;
56
- CustomLogin?: ReactNode;
57
56
  }
58
57
  declare const WithCustomFieldsBillingInfoContainer: (props: any) => JSX.Element;
59
58
  export { WithCustomFieldsBillingInfoContainer as BillingInfoContainer };
@@ -3856,8 +3856,7 @@ var BillingInfoContainer = /*#__PURE__*/React__default.memo(function (_ref4) {
3856
3856
  _ref4$onGetCheckoutCo = _ref4.onGetCheckoutConfigsSuccess,
3857
3857
  onGetCheckoutConfigsSuccess = _ref4$onGetCheckoutCo === void 0 ? _identity : _ref4$onGetCheckoutCo,
3858
3858
  _ref4$onGetCheckoutCo2 = _ref4.onGetCheckoutConfigsError,
3859
- onGetCheckoutConfigsError = _ref4$onGetCheckoutCo2 === void 0 ? _identity : _ref4$onGetCheckoutCo2,
3860
- CustomLogin = _ref4.CustomLogin;
3859
+ onGetCheckoutConfigsError = _ref4$onGetCheckoutCo2 === void 0 ? _identity : _ref4$onGetCheckoutCo2;
3861
3860
  var _useState = React.useState(null),
3862
3861
  extraData = _useState[0],
3863
3862
  setExtraData = _useState[1];
@@ -4656,7 +4655,7 @@ var BillingInfoContainer = /*#__PURE__*/React__default.memo(function (_ref4) {
4656
4655
  }, props.isSubmitting ? React__default.createElement(material.CircularProgress, {
4657
4656
  size: 26
4658
4657
  }) : buttonName))));
4659
- }), CustomLogin ? CustomLogin : null, showModalLogin && !CustomLogin ? React__default.createElement(LoginModal, {
4658
+ }), showModalLogin && React__default.createElement(LoginModal, {
4660
4659
  logo: logo,
4661
4660
  onClose: function onClose() {
4662
4661
  setShowModalLogin(false);
@@ -4684,7 +4683,7 @@ var BillingInfoContainer = /*#__PURE__*/React__default.memo(function (_ref4) {
4684
4683
  setShowModalSignup(true);
4685
4684
  },
4686
4685
  showPoweredByImage: showPoweredByImage
4687
- }) : null, showModalSignup && React__default.createElement(SignupModal, {
4686
+ }), showModalSignup && React__default.createElement(SignupModal, {
4688
4687
  onClose: function onClose() {
4689
4688
  setShowModalSignup(false);
4690
4689
  },