react-native-resource-calendar 1.0.4 → 1.0.6
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/README.md +37 -3
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -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
|
}
|