dhre-ui-kit 0.0.399 → 0.0.400
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 +4 -6
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +4 -6
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -4005,12 +4005,11 @@ const CustomHeader = ({
|
|
|
4005
4005
|
},
|
|
4006
4006
|
testID: testId
|
|
4007
4007
|
},
|
|
4008
|
-
/* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$j.headderContainer }, showLeftIcon && leftIcon ? React__default["default"].cloneElement(leftIcon, {
|
|
4008
|
+
/* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$j.headderContainer }, showLeftIcon && leftIcon ? /* @__PURE__ */ React__default["default"].createElement(reactNative.Pressable, { onPress: onLeftPress }, React__default["default"].cloneElement(leftIcon, {
|
|
4009
4009
|
width: moderateScale(24),
|
|
4010
4010
|
height: moderateScale(24),
|
|
4011
|
-
onPress: onLeftPress,
|
|
4012
4011
|
style: styles$j.leftIconStyle
|
|
4013
|
-
}) : null, /* @__PURE__ */ React__default["default"].createElement(
|
|
4012
|
+
})) : null, /* @__PURE__ */ React__default["default"].createElement(
|
|
4014
4013
|
CustomTypography,
|
|
4015
4014
|
{
|
|
4016
4015
|
variant: "B2_REGULAR",
|
|
@@ -4018,12 +4017,11 @@ const CustomHeader = ({
|
|
|
4018
4017
|
style: { color: theme.CONTENT_PRIMARY }
|
|
4019
4018
|
}
|
|
4020
4019
|
)),
|
|
4021
|
-
showRightIcon && rightIcon ? React__default["default"].cloneElement(rightIcon, {
|
|
4020
|
+
showRightIcon && rightIcon ? /* @__PURE__ */ React__default["default"].createElement(reactNative.Pressable, { onPress: onRightPress }, React__default["default"].cloneElement(rightIcon, {
|
|
4022
4021
|
width: moderateScale(24),
|
|
4023
4022
|
height: moderateScale(24),
|
|
4024
|
-
onPress: onRightPress,
|
|
4025
4023
|
style: styles$j.rightIconStyle
|
|
4026
|
-
}) : null
|
|
4024
|
+
})) : null
|
|
4027
4025
|
);
|
|
4028
4026
|
};
|
|
4029
4027
|
var CustomHeader$1 = withThemeProvider(CustomHeader);
|