dhre-ui-kit 0.0.398 → 0.0.399

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
@@ -735,19 +735,17 @@ const BottomDrawer = ({
735
735
  text: title,
736
736
  style: { ...styles$z.title, ...titleStyle }
737
737
  }
738
- )), /* @__PURE__ */ React.createElement(View, { style: rightTitle?.length ? styles$z.rightSideStyle : {} }, rightTitle?.length ? /* @__PURE__ */ React.createElement(Pressable, { onPress: handleRightTitlePress }, /* @__PURE__ */ React.createElement(
738
+ )), /* @__PURE__ */ React.createElement(View, { style: rightTitle && rightTitle?.length > 0 ? styles$z.rightSideStyle : {} }, rightTitle && rightTitle?.length > 0 ? /* @__PURE__ */ React.createElement(Pressable, { onPress: handleRightTitlePress }, /* @__PURE__ */ React.createElement(
739
739
  CustomTypography,
740
740
  {
741
741
  variant: rightTitleVariant,
742
742
  text: rightTitle,
743
743
  style: { ...styles$z.rightTitle, ...rightTitleStyle }
744
744
  }
745
- )) : null, showRightIcon && rightIcon ? React.cloneElement(rightIcon, {
745
+ )) : null, showRightIcon && rightIcon ? /* @__PURE__ */ React.createElement(Pressable, { onPress: toggleModal, style: styles$z.rightIconStyle }, React.cloneElement(rightIcon, {
746
746
  width: moderateScale(24),
747
- height: moderateScale(24),
748
- style: styles$z.rightIconStyle,
749
- onPress: toggleModal
750
- }) : null))), children))
747
+ height: moderateScale(24)
748
+ })) : null))), children))
751
749
  ),
752
750
  footer ? /* @__PURE__ */ React.createElement(React.Fragment, null, footer) : null
753
751
  );