react-native-resource-calendar 1.0.4 → 1.0.5

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/dist/index.mjs CHANGED
@@ -668,7 +668,7 @@ function StaffAvatar({
668
668
  width: circleSize,
669
669
  backgroundColor: avatarColor || "#C9E5E8",
670
670
  overflow: "hidden"
671
- } }, image ? /* @__PURE__ */ React18.createElement(
671
+ } }, !image ? /* @__PURE__ */ React18.createElement(
672
672
  Image,
673
673
  {
674
674
  resizeMode: "cover",
@@ -686,10 +686,11 @@ function StaffAvatar({
686
686
  style: {
687
687
  fontFamily: titleFace,
688
688
  fontSize,
689
- color: textColor || "#4d959c"
689
+ color: textColor || "#4d959c",
690
+ lineHeight: circleSize
690
691
  }
691
692
  },
692
- name ? name.split(" ").map((n) => n[0]).join("") : ""
693
+ name ? name.split(" ").map((n) => n[0]).join("").slice(0, 2) : ""
693
694
  ))))
694
695
  );
695
696
  }