dhre-ui-kit 0.0.110 → 0.0.114

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
@@ -2243,14 +2243,24 @@ const CustomHeader = ({
2243
2243
  onLeftPress,
2244
2244
  onRightPress
2245
2245
  }) => {
2246
- return /* @__PURE__ */ React__default.createElement(View, { style: styles$k.container, testID: testId }, /* @__PURE__ */ React__default.createElement(View, { style: styles$k.headderContainer }, /* @__PURE__ */ React__default.createElement(
2246
+ return /* @__PURE__ */ React__default.createElement(View, { style: styles$k.container, testID: testId }, /* @__PURE__ */ React__default.createElement(View, { style: styles$k.headderContainer }, showLeftIcon && React__default.cloneElement(leftIcon, {
2247
+ width: moderateScale(24),
2248
+ height: moderateScale(24),
2249
+ onPress: onLeftPress,
2250
+ style: styles$k.leftIconStyle
2251
+ }), /* @__PURE__ */ React__default.createElement(
2247
2252
  CustomTypography,
2248
2253
  {
2249
2254
  variant: "B2_REGULAR",
2250
2255
  text: title,
2251
2256
  style: styles$k.headerTitle
2252
2257
  }
2253
- )), /* @__PURE__ */ React__default.createElement(SvgCaretLeft, null), ",");
2258
+ )), showRightIcon && React__default.cloneElement(rightIcon, {
2259
+ width: moderateScale(24),
2260
+ height: moderateScale(24),
2261
+ onPress: onRightPress,
2262
+ style: styles$k.rightIconStyle
2263
+ }));
2254
2264
  };
2255
2265
 
2256
2266
  const styles$j = StyleSheet.create({