Open owaisulwara opened 2 years ago
Code:
<TouchableOpacity onPress={() => { AddCalendarEvent.presentEventCreatingDialog({ location: "ABC Venue", title: "Event Reservation", startDate: new Date().toISOString(), endDate: new Date( (Date.now + 60 * 60 * 2) * 1000 ).toISOString() }) .then(e => console.log(e)) .catch(err => console.log(err)); }}>
Code: