react-add-to-calendar-hoc
react-add-to-calendar-hoc copied to clipboard
Fixes iCal not downloading
https://stackoverflow.com/a/26818375
#60
Only thought on this - can the data/text prefixing be put directly into the anchor's href to get things working? Similar to described in https://www.maxkohler.com/posts/calendar-links/ with data:text/calendar;charset=utf-8,BEGIN...
This PR is almost certainly an improvement over what's in master already, however.