dhre-ui-kit 0.0.369 → 0.0.370

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 CHANGED
@@ -694,8 +694,18 @@ const styles$z = reactNative.StyleSheet.create({
694
694
  },
695
695
  title: { flex: 1, color: "#fff", textAlign: "left" },
696
696
  leftIconStyle: { marginRight: 8 },
697
- rightIconStyle: { marginLeft: 8 },
698
- rightTitle: { flex: 1, color: "#fff", textAlign: "right", marginRight: verticalScale(16) }
697
+ rightTitle: {
698
+ color: "#fff",
699
+ textAlign: "right",
700
+ marginRight: moderateScale(16)
701
+ },
702
+ rightIconStyle: {
703
+ marginLeft: 0
704
+ },
705
+ rightSideStyle: {
706
+ flexDirection: "row",
707
+ alignItems: "center"
708
+ }
699
709
  });
700
710
 
701
711
  const isIos = () => reactNative.Platform.OS === "ios" /* ios */;
@@ -760,7 +770,7 @@ const BottomDrawer = ({
760
770
  text: title,
761
771
  style: { ...styles$z.title, ...titleStyle }
762
772
  }
763
- )), /* @__PURE__ */ React__default["default"].createElement(reactNative.View, null, rightTitle ? /* @__PURE__ */ React__default["default"].createElement(
773
+ )), /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: rightTitle?.length ? styles$z.rightSideStyle : {} }, rightTitle?.length ? /* @__PURE__ */ React__default["default"].createElement(
764
774
  CustomTypography,
765
775
  {
766
776
  variant: rightTitleVariant,