UNPKG

@htmlbricks/hb-calendar-events

Version:

Classic month grid (7-day week header and variable rows) with selectable cells, “today” styling, and event chips inside each day. Supports adjacent-month padding cells, Italian holidays, JSON `events`, and the same navigation/selection events as the appoi

22 lines (20 loc) 392 B
export interface IEvent { date: Date; label: string; id: string; link?: string; icon?: string; color?: string; } export type Component = { id?: string; date?: Date; events?: IEvent[]; selected?: Date; disable_header?: boolean; }; export type Events = { calendarEventClick: { eventId: string }; changeCalendarDate: { date: Date }; changeSelectedDate: { selectedDate: Date }; };