window.location.href = generateGoogleCalendarUrl({ text: "Event name", details: "Event description", date: new Date(), });
window.location.href = generateOutlookCalendarUrl({ text: "Event name", details: "Event description", date: new Date(), });
- title?: string;
- location?: string;
- details?: string;
- text?: string;
- end?: Date;
- start?: Date;
- date?: Date;