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.mjs CHANGED
@@ -658,8 +658,18 @@ const styles$z = StyleSheet.create({
658
658
  },
659
659
  title: { flex: 1, color: "#fff", textAlign: "left" },
660
660
  leftIconStyle: { marginRight: 8 },
661
- rightIconStyle: { marginLeft: 8 },
662
- rightTitle: { flex: 1, color: "#fff", textAlign: "right", marginRight: verticalScale(16) }
661
+ rightTitle: {
662
+ color: "#fff",
663
+ textAlign: "right",
664
+ marginRight: moderateScale(16)
665
+ },
666
+ rightIconStyle: {
667
+ marginLeft: 0
668
+ },
669
+ rightSideStyle: {
670
+ flexDirection: "row",
671
+ alignItems: "center"
672
+ }
663
673
  });
664
674
 
665
675
  const isIos = () => Platform.OS === "ios" /* ios */;
@@ -724,7 +734,7 @@ const BottomDrawer = ({
724
734
  text: title,
725
735
  style: { ...styles$z.title, ...titleStyle }
726
736
  }
727
- )), /* @__PURE__ */ React.createElement(View, null, rightTitle ? /* @__PURE__ */ React.createElement(
737
+ )), /* @__PURE__ */ React.createElement(View, { style: rightTitle?.length ? styles$z.rightSideStyle : {} }, rightTitle?.length ? /* @__PURE__ */ React.createElement(
728
738
  CustomTypography,
729
739
  {
730
740
  variant: rightTitleVariant,