Lines Matching refs:calendar
2 import * as Calendar from 'expo-calendar';
37 Events: { calendar: Calendar.Calendar };
54 const { id } = params.calendar;
71 const { calendar } = this.props.route.params!;
72 if (!calendar.allowsModifications) {
73 Alert.alert('This calendar does not allow modifications');
104 await Calendar.createEventAsync(calendar.id, newEvent);
106 this._findEvents(calendar.id);
137 const { calendar } = this.props.route.params!;
138 if (!calendar.allowsModifications) {
139 Alert.alert('This calendar does not allow modifications');
151 this._findEvents(calendar.id);
159 const { calendar } = this.props.route.params!;
165 this._findEvents(calendar.id);
204 <Text style={{ marginVertical: 12 }}>This calendar has no events.</Text>