dhre-ui-kit 0.0.370 → 0.0.371
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.d.ts +1 -0
- package/lib/index.js +4 -3
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +4 -3
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -702,7 +702,8 @@ const BottomDrawer = ({
|
|
|
702
702
|
swipeDirection = "down",
|
|
703
703
|
rightTitleVariant = "B2_REGULAR",
|
|
704
704
|
rightTitle,
|
|
705
|
-
rightTitleStyle
|
|
705
|
+
rightTitleStyle,
|
|
706
|
+
handleRightTitlePress
|
|
706
707
|
}) => {
|
|
707
708
|
return /* @__PURE__ */ React.createElement(
|
|
708
709
|
Modal,
|
|
@@ -734,14 +735,14 @@ const BottomDrawer = ({
|
|
|
734
735
|
text: title,
|
|
735
736
|
style: { ...styles$z.title, ...titleStyle }
|
|
736
737
|
}
|
|
737
|
-
)), /* @__PURE__ */ React.createElement(View, { style: rightTitle?.length ? styles$z.rightSideStyle : {} }, rightTitle?.length ? /* @__PURE__ */ React.createElement(
|
|
738
|
+
)), /* @__PURE__ */ React.createElement(View, { style: rightTitle?.length ? styles$z.rightSideStyle : {} }, rightTitle?.length ? /* @__PURE__ */ React.createElement(Pressable, { onPress: handleRightTitlePress }, /* @__PURE__ */ React.createElement(
|
|
738
739
|
CustomTypography,
|
|
739
740
|
{
|
|
740
741
|
variant: rightTitleVariant,
|
|
741
742
|
text: rightTitle,
|
|
742
743
|
style: { ...styles$z.rightTitle, ...rightTitleStyle }
|
|
743
744
|
}
|
|
744
|
-
) : null, showRightIcon && rightIcon ? React.cloneElement(rightIcon, {
|
|
745
|
+
)) : null, showRightIcon && rightIcon ? React.cloneElement(rightIcon, {
|
|
745
746
|
width: moderateScale(24),
|
|
746
747
|
height: moderateScale(24),
|
|
747
748
|
style: styles$z.rightIconStyle,
|