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.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -738,7 +738,8 @@ const BottomDrawer = ({
|
|
|
738
738
|
swipeDirection = "down",
|
|
739
739
|
rightTitleVariant = "B2_REGULAR",
|
|
740
740
|
rightTitle,
|
|
741
|
-
rightTitleStyle
|
|
741
|
+
rightTitleStyle,
|
|
742
|
+
handleRightTitlePress
|
|
742
743
|
}) => {
|
|
743
744
|
return /* @__PURE__ */ React__default["default"].createElement(
|
|
744
745
|
Modal__default["default"],
|
|
@@ -770,14 +771,14 @@ const BottomDrawer = ({
|
|
|
770
771
|
text: title,
|
|
771
772
|
style: { ...styles$z.title, ...titleStyle }
|
|
772
773
|
}
|
|
773
|
-
)), /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: rightTitle?.length ? styles$z.rightSideStyle : {} }, rightTitle?.length ? /* @__PURE__ */ React__default["default"].createElement(
|
|
774
|
+
)), /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: rightTitle?.length ? styles$z.rightSideStyle : {} }, rightTitle?.length ? /* @__PURE__ */ React__default["default"].createElement(reactNative.Pressable, { onPress: handleRightTitlePress }, /* @__PURE__ */ React__default["default"].createElement(
|
|
774
775
|
CustomTypography,
|
|
775
776
|
{
|
|
776
777
|
variant: rightTitleVariant,
|
|
777
778
|
text: rightTitle,
|
|
778
779
|
style: { ...styles$z.rightTitle, ...rightTitleStyle }
|
|
779
780
|
}
|
|
780
|
-
) : null, showRightIcon && rightIcon ? React__default["default"].cloneElement(rightIcon, {
|
|
781
|
+
)) : null, showRightIcon && rightIcon ? React__default["default"].cloneElement(rightIcon, {
|
|
781
782
|
width: moderateScale(24),
|
|
782
783
|
height: moderateScale(24),
|
|
783
784
|
style: styles$z.rightIconStyle,
|