kit
    Preparing search index...

    Type Alias UseCalendarProps

    type UseCalendarProps = {
        apiKey?: string;
        calendars: Calendars;
        end?: Date;
        events?: CalendarEventsMap;
        locale: string;
        onError?: (e: any) => void;
        start?: Date;
        timeZone?: string;
        view?: CalendarView;
    }
    Index
    apiKey?: string

    Fall back to `process.env.GOOGLE_CALENDAR_API_KEY

    calendars: Calendars

    Calendars infos to use

    end?: Date

    It defaults to the last day of the current month

    The key is the event uid, they are shown along with the ones loaded from the calendars

    locale: string

    The locale to format with date-fns

    onError?: (e: any) => void

    Called with the error of each calendar whose events could not be loaded

    start?: Date

    It defaults to the first of the current month

    timeZone?: string

    The default is the time zone of the calendar

    The calendar view

    "month"