@thecb/components 7.12.2-beta.0 → 7.12.2-beta.2
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/package.json
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import React, { useState, Fragment } from "react";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
Stack,
|
|
4
|
+
Cluster,
|
|
5
|
+
Box,
|
|
6
|
+
Motion,
|
|
7
|
+
Cover,
|
|
8
|
+
Center
|
|
9
|
+
} from "../../atoms/layouts";
|
|
3
10
|
import { fallbackValues } from "./PaymentDetails.theme";
|
|
4
11
|
|
|
5
12
|
import { displayCurrency } from "../../../util/general";
|
|
@@ -113,8 +120,14 @@ const PaymentDetailsContent = ({
|
|
|
113
120
|
);
|
|
114
121
|
|
|
115
122
|
const LoadingDetails = () => (
|
|
116
|
-
<Box padding="0" background={GHOST_GREY} borderRadius="4px">
|
|
117
|
-
<
|
|
123
|
+
<Box padding="0" background={GHOST_GREY} borderRadius="4px" minHeight="196px">
|
|
124
|
+
<Cover minHeight="100%" singleChild>
|
|
125
|
+
<Center intrinsic>
|
|
126
|
+
<Box padding="0">
|
|
127
|
+
<Spinner size="100" />
|
|
128
|
+
</Box>
|
|
129
|
+
</Center>
|
|
130
|
+
</Cover>
|
|
118
131
|
</Box>
|
|
119
132
|
);
|
|
120
133
|
|