@thecb/components 7.7.0-beta.1 → 7.7.0-beta.3
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
package/src/util/general.js
CHANGED
|
@@ -167,6 +167,10 @@ export const renderCardStatus = (
|
|
|
167
167
|
textAlign = "right",
|
|
168
168
|
as = "span"
|
|
169
169
|
) => {
|
|
170
|
+
const ACTIVE = "ACTIVE";
|
|
171
|
+
const EXPIRING_SOON = "EXPIRING_SOON";
|
|
172
|
+
const EXPIRED = "EXPIRED";
|
|
173
|
+
|
|
170
174
|
switch (expirationStatus) {
|
|
171
175
|
case ACTIVE:
|
|
172
176
|
return (
|