dhre-ui-kit 0.0.100 → 0.0.101

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.js CHANGED
@@ -2466,24 +2466,14 @@ const CustomHeader = ({
2466
2466
  onLeftPress,
2467
2467
  onRightPress
2468
2468
  }) => {
2469
- return /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$k.container, testID: testId }, /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$k.headderContainer }, showLeftIcon && React__default["default"].cloneElement(leftIcon, {
2470
- width: moderateScale(24),
2471
- height: moderateScale(24),
2472
- onPress: onLeftPress,
2473
- style: styles$k.leftIconStyle
2474
- }), /* @__PURE__ */ React__default["default"].createElement(
2469
+ return /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$k.container, testID: testId }, /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$k.headderContainer }, /* @__PURE__ */ React__default["default"].createElement(
2475
2470
  CustomTypography,
2476
2471
  {
2477
2472
  variant: "B2_REGULAR",
2478
2473
  text: title,
2479
2474
  style: styles$k.headerTitle
2480
2475
  }
2481
- )), showRightIcon && React__default["default"].cloneElement(rightIcon, {
2482
- width: moderateScale(24),
2483
- height: moderateScale(24),
2484
- onPress: onRightPress,
2485
- style: styles$k.rightIconStyle
2486
- }));
2476
+ )));
2487
2477
  };
2488
2478
 
2489
2479
  const styles$j = reactNative.StyleSheet.create({