dhre-ui-kit 0.0.358 → 0.0.359
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/lib/index.d.ts +1 -0
- package/lib/index.js +3 -2
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +3 -2
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -2345,13 +2345,14 @@ const DEFAULT_LOADER = {
|
|
|
2345
2345
|
const CustomLoader = ({
|
|
2346
2346
|
loading,
|
|
2347
2347
|
brandName = "DP",
|
|
2348
|
-
loadingText
|
|
2348
|
+
loadingText,
|
|
2349
|
+
icon
|
|
2349
2350
|
}) => {
|
|
2350
2351
|
const { theme, mode } = useTheme();
|
|
2351
2352
|
const styles = createStyles$3(theme);
|
|
2352
2353
|
if (!loading) return null;
|
|
2353
2354
|
else {
|
|
2354
|
-
return /* @__PURE__ */ React.createElement(View, { style: styles.container }, /* @__PURE__ */ React.createElement(View, { style: styles.backdrop }, /* @__PURE__ */ React.createElement(View, { style: styles.box }, /* @__PURE__ */ React.createElement(View, { style: styles.loader }, /* @__PURE__ */ React.createElement(
|
|
2355
|
+
return /* @__PURE__ */ React.createElement(View, { style: styles.container }, /* @__PURE__ */ React.createElement(View, { style: styles.backdrop }, /* @__PURE__ */ React.createElement(View, { style: styles.box }, /* @__PURE__ */ React.createElement(View, { style: styles.loader }, icon, /* @__PURE__ */ React.createElement(
|
|
2355
2356
|
LottieView,
|
|
2356
2357
|
{
|
|
2357
2358
|
style: styles.lottie,
|