dhre-ui-kit 0.0.298 → 0.0.299

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
@@ -2544,12 +2544,12 @@ const CustomIcon = ({
2544
2544
  );
2545
2545
  };
2546
2546
 
2547
- function AnimationWithImperativeApi() {
2548
- return /* @__PURE__ */ React.createElement(View, { style: { flex: 1 } }, /* @__PURE__ */ React.createElement(
2547
+ function AnimationWithImperativeApi({ containerStyle, json, JsonViewStyle }) {
2548
+ return /* @__PURE__ */ React.createElement(View, { style: containerStyle }, /* @__PURE__ */ React.createElement(
2549
2549
  LottieView,
2550
2550
  {
2551
- style: { width: "100%", height: "100%" },
2552
- source: loaderJson,
2551
+ style: JsonViewStyle,
2552
+ source: json,
2553
2553
  autoPlay: true,
2554
2554
  loop: true
2555
2555
  }