@htmlbricks/hb-calendar-appointments
Version:
23 lines (21 loc) • 409 B
TypeScript
export interface IEvent {
date: Date;
label: string;
id: string;
link?: string;
icon?: string;
color?: string;
}
export type Component = {
id?: string;
style?: string;
date?: Date;
events?: IEvent[];
selected?: Date;
disable_header?: boolean;
};
export type Events = {
calendarEventClick: { eventId: string };
changeCalendarDate: { date: Date };
changeSelectedDate: { selectedDate: Date };
};