dhre-ui-kit 0.0.298 → 0.0.300

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
@@ -497,7 +497,11 @@ interface CustomLoaderProps {
497
497
 
498
498
  declare const _default$d: (props: CustomLoaderProps) => React$1.JSX.Element;
499
499
 
500
- declare function AnimationWithImperativeApi(): React$1.JSX.Element;
500
+ declare function AnimationWithImperativeApi({ containerStyle, json, JsonViewStyle }: {
501
+ containerStyle: any;
502
+ json: any;
503
+ JsonViewStyle: any;
504
+ }): React$1.JSX.Element;
501
505
 
502
506
  declare const _default$c: (props: {
503
507
  backgroundColor?: string;
package/lib/index.js CHANGED
@@ -2581,12 +2581,12 @@ const CustomIcon = ({
2581
2581
  );
2582
2582
  };
2583
2583
 
2584
- function AnimationWithImperativeApi() {
2585
- return /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: { flex: 1 } }, /* @__PURE__ */ React__default["default"].createElement(
2584
+ function AnimationWithImperativeApi({ containerStyle, json, JsonViewStyle }) {
2585
+ return /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: containerStyle }, /* @__PURE__ */ React__default["default"].createElement(
2586
2586
  LottieView__default["default"],
2587
2587
  {
2588
- style: { width: "100%", height: "100%" },
2589
- source: loaderJson,
2588
+ style: JsonViewStyle,
2589
+ source: json,
2590
2590
  autoPlay: true,
2591
2591
  loop: true
2592
2592
  }
@@ -3105,7 +3105,7 @@ const ScrollableList = ({
3105
3105
  const { theme } = useTheme();
3106
3106
  const styles = createStyles$2({ theme });
3107
3107
  return /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: [styles.container, containerStyle] }, /* @__PURE__ */ React__default["default"].createElement(
3108
- reactNative.ScrollView,
3108
+ reactNativeGestureHandler.ScrollView,
3109
3109
  {
3110
3110
  horizontal: true,
3111
3111
  showsHorizontalScrollIndicator: false,