@eventlook/sdk 1.5.0-beta.3 → 1.5.0-beta.4
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.
- package/dist/cjs/index-DLC5Hr8L.js +35809 -0
- package/dist/cjs/index-DLC5Hr8L.js.map +1 -0
- package/dist/cjs/index.js +11 -49194
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/index.umd-BSCKGDNQ.js +13407 -0
- package/dist/cjs/index.umd-BSCKGDNQ.js.map +1 -0
- package/dist/esm/index-BwmbJihM.js +35805 -0
- package/dist/esm/index-BwmbJihM.js.map +1 -0
- package/dist/esm/index.js +10 -49197
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.umd-6fgyuQlr.js +13405 -0
- package/dist/esm/index.umd-6fgyuQlr.js.map +1 -0
- package/package.json +1 -1
- package/src/@types/index.d.ts +0 -2
- package/src/form/PaymentPending.tsx +6 -3
package/package.json
CHANGED
package/src/@types/index.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { lazy, Suspense } from 'react';
|
|
2
2
|
import { Box, Typography } from '@mui/material';
|
|
3
|
-
import Lottie from 'lottie-react';
|
|
4
3
|
import bankTransferAnimation from '../utils/data/lottie/bank-transfer.json';
|
|
5
4
|
import { varBounce } from '@components/animate';
|
|
6
5
|
import { m } from 'framer-motion';
|
|
7
6
|
import useGlobal from '@hooks/useGlobal';
|
|
8
7
|
|
|
8
|
+
const Lottie = lazy(() => import('lottie-react'));
|
|
9
|
+
|
|
9
10
|
const PaymentPending: React.FC = () => {
|
|
10
11
|
const { t } = useGlobal();
|
|
11
12
|
|
|
@@ -17,7 +18,9 @@ const PaymentPending: React.FC = () => {
|
|
|
17
18
|
</Typography>
|
|
18
19
|
</m.div>
|
|
19
20
|
<Box maxWidth={600} mx="auto">
|
|
20
|
-
<
|
|
21
|
+
<Suspense fallback={null}>
|
|
22
|
+
<Lottie animationData={bankTransferAnimation} />
|
|
23
|
+
</Suspense>
|
|
21
24
|
</Box>
|
|
22
25
|
</Box>
|
|
23
26
|
);
|