Skip to content

Instantly share code, notes, and snippets.

@3DEsprit 3DEsprit/event.js
Last active Jul 30, 2017

What would you like to do?
react-native-calendar-events event create
RNCalendarEvents.saveEvent(`Example Event`, {
location:'Our Awesome Place City, State',
notes: `${this.props.title}`,
description: `${this.props.title}`,
startDate: firstTime.toISOString(),
endDate: lastTime.toISOString(),
calendar: ['Calendar'],
alarm: [{
.then(id => {
// we can get the event ID here if we need it
}).catch(error => console.log('Save Event Error: ', error));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.