dhre-ui-kit 0.0.229 → 0.0.231

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 CHANGED
@@ -486,6 +486,7 @@ declare const CustomIcon: ({ icon, title, titleVariant, testId, onPress, contain
486
486
 
487
487
  interface CustomLoaderProps {
488
488
  loading: boolean;
489
+ loadingText?: string;
489
490
  }
490
491
 
491
492
  declare const _default$e: (props: CustomLoaderProps) => React$1.JSX.Element;
package/lib/index.js CHANGED
@@ -780,7 +780,7 @@ const createStyles$3 = (theme) => {
780
780
  });
781
781
  };
782
782
 
783
- const CustomLoader = ({ loading }) => {
783
+ const CustomLoader = ({ loading, loadingText = "Loading..." }) => {
784
784
  const rotateAnim = React.useRef(new reactNative.Animated.Value(0)).current;
785
785
  const { theme, mode } = useTheme();
786
786
  const styles = createStyles$3(theme);
@@ -832,7 +832,7 @@ const CustomLoader = ({ loading }) => {
832
832
  ))), /* @__PURE__ */ React__default["default"].createElement(
833
833
  CustomText$1,
834
834
  {
835
- text: "Loading...",
835
+ text: loadingText,
836
836
  style: styles.text,
837
837
  variant: FontStyle.B4_REGULAR,
838
838
  textColor: "#000000"