dhre-ui-kit 0.0.349 → 0.0.351

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.mjs CHANGED
@@ -2484,7 +2484,11 @@ const DEFAULT_LOADER = {
2484
2484
  assets: []
2485
2485
  };
2486
2486
 
2487
- const CustomLoader = ({ loading, brandName }) => {
2487
+ const CustomLoader = ({
2488
+ loading,
2489
+ brandName = "DP",
2490
+ loadingText
2491
+ }) => {
2488
2492
  const { theme, mode } = useTheme();
2489
2493
  const styles = createStyles$3(theme);
2490
2494
  if (!loading) return null;
@@ -2497,7 +2501,16 @@ const CustomLoader = ({ loading, brandName }) => {
2497
2501
  autoPlay: true,
2498
2502
  loop: true
2499
2503
  }
2500
- )))));
2504
+ )), loadingText && /* @__PURE__ */ React.createElement(
2505
+ CustomText$1,
2506
+ {
2507
+ text: loadingText,
2508
+ style: styles.text,
2509
+ variant: FontStyle.B4_REGULAR,
2510
+ textColor: "#000000",
2511
+ numberOfLines: 2
2512
+ }
2513
+ ))));
2501
2514
  }
2502
2515
  };
2503
2516
  var CustomLoader$1 = withThemeProvider(CustomLoader);