4.2.41 • Published 2 years ago

@yogalin/react-google-calendar v4.2.41

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

React Google Calendar

npm (scoped) Build Status

This is a forked repository from ericz1803/react-google-calendar

See it in action here or try it yourself in CodeSandbox here.

Features added:

  • Calendar events in a day is sorted
  • "Copy to Calendar" to "Go to Calendar" to go to specific date on click
  • Added selectedMonthYear to select specific month in the calendar
  • Added updatedMonthYear to get the month on click previous/next

Properties

ParameterTypeDescription
apiKeystringgoogle api key (required)
calendarsarray of objectsgoogle calendar id and display color (required)
stylesobjectstyles (optional, see more below)
showArrowbooleanshows arrow for events that span multiple months (optional, defaults to true)
showFooterbooleanwhether or not to show footer (optional, defaults to true)
languagestringAvailable options : 'ES', 'PT', 'FR', 'SL' default: 'EN'
selectedMonthYearmoment(date)Select specific month in the calendar (optional)
updatedMonthYearfunctionReturn value on change month (optional)

More Information

For more information of this library, please visit the original version ericz1803/react-google-calendar.

License

MIT License