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.mjs
CHANGED
|
@@ -3969,12 +3969,11 @@ const CustomHeader = ({
|
|
|
3969
3969
|
},
|
|
3970
3970
|
testID: testId
|
|
3971
3971
|
},
|
|
3972
|
-
/* @__PURE__ */ React.createElement(View, { style: styles$j.headderContainer }, showLeftIcon && leftIcon ? React.cloneElement(leftIcon, {
|
|
3972
|
+
/* @__PURE__ */ React.createElement(View, { style: styles$j.headderContainer }, showLeftIcon && leftIcon ? /* @__PURE__ */ React.createElement(Pressable, { onPress: onLeftPress }, React.cloneElement(leftIcon, {
|
|
3973
3973
|
width: moderateScale(24),
|
|
3974
3974
|
height: moderateScale(24),
|
|
3975
|
-
onPress: onLeftPress,
|
|
3976
3975
|
style: styles$j.leftIconStyle
|
|
3977
|
-
}) : null, /* @__PURE__ */ React.createElement(
|
|
3976
|
+
})) : null, /* @__PURE__ */ React.createElement(
|
|
3978
3977
|
CustomTypography,
|
|
3979
3978
|
{
|
|
3980
3979
|
variant: "B2_REGULAR",
|
|
@@ -3982,12 +3981,11 @@ const CustomHeader = ({
|
|
|
3982
3981
|
style: { color: theme.CONTENT_PRIMARY }
|
|
3983
3982
|
}
|
|
3984
3983
|
)),
|
|
3985
|
-
showRightIcon && rightIcon ? React.cloneElement(rightIcon, {
|
|
3984
|
+
showRightIcon && rightIcon ? /* @__PURE__ */ React.createElement(Pressable, { onPress: onRightPress }, React.cloneElement(rightIcon, {
|
|
3986
3985
|
width: moderateScale(24),
|
|
3987
3986
|
height: moderateScale(24),
|
|
3988
|
-
onPress: onRightPress,
|
|
3989
3987
|
style: styles$j.rightIconStyle
|
|
3990
|
-
}) : null
|
|
3988
|
+
})) : null
|
|
3991
3989
|
);
|
|
3992
3990
|
};
|
|
3993
3991
|
var CustomHeader$1 = withThemeProvider(CustomHeader);
|