expo-calendar-kit 2.1.1 → 2.1.3
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.
|
@@ -167,7 +167,7 @@ public class ExpoCalendarKitView: UIView, DayViewDelegate, EventDataSource {
|
|
|
167
167
|
private func applyStyle() {
|
|
168
168
|
guard let dayView = dayView else { return }
|
|
169
169
|
|
|
170
|
-
var style =
|
|
170
|
+
var style = CalendarStyle()
|
|
171
171
|
|
|
172
172
|
// Apply only the colors that are supported by CalendarKit
|
|
173
173
|
if let headerBgColor = customCalendarStyle.headerBackgroundColor {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { requireNativeViewManager } from 'expo-modules-core';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
const NativeView = requireNativeViewManager('
|
|
3
|
+
const NativeView = requireNativeViewManager('ExpoCalendarKitView');
|
|
4
4
|
export default function ExpoCalendarKitView(props) {
|
|
5
5
|
const { events, date, style: calendarStyle, onEventPress, onEventLongPress, onTimePress, onTimeLongPress, onDateChanged, scrollToCurrentTime, style, ...otherProps } = props;
|
|
6
6
|
// Convert Date objects to timestamps for native layer
|
|
@@ -5,7 +5,7 @@ import { ViewStyle } from 'react-native';
|
|
|
5
5
|
import { ExpoCalendarKitViewProps } from './ExpoCalendarKit.types';
|
|
6
6
|
|
|
7
7
|
const NativeView: React.ComponentType<ExpoCalendarKitViewProps> =
|
|
8
|
-
requireNativeViewManager('
|
|
8
|
+
requireNativeViewManager('ExpoCalendarKitView');
|
|
9
9
|
|
|
10
10
|
export default function ExpoCalendarKitView(props: ExpoCalendarKitViewProps) {
|
|
11
11
|
const {
|