react-native-resource-calendar 1.1.8 → 1.1.9

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.js CHANGED
@@ -1882,7 +1882,7 @@ var CalendarInner = (props) => {
1882
1882
  top: 0,
1883
1883
  left: TIME_LABEL_WIDTH,
1884
1884
  paddingLeft: TIME_LABEL_WIDTH,
1885
- width: width - TIME_LABEL_WIDTH,
1885
+ width: (layout?.width ?? width) - TIME_LABEL_WIDTH,
1886
1886
  height: "100%",
1887
1887
  backgroundColor: "rgba(0, 0, 0, 0.1)",
1888
1888
  zIndex: 1