@ilamy/calendar 1.5.0 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +5 -0
- package/dist/index.js +6 -6
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -554,6 +554,11 @@ interface IlamyCalendarProps {
|
|
|
554
554
|
* @example ['saturday', 'sunday'] // Hide weekends
|
|
555
555
|
*/
|
|
556
556
|
hiddenDays?: WeekDays[];
|
|
557
|
+
/**
|
|
558
|
+
* Custom render function for the hour labels in the gutter/header.
|
|
559
|
+
* Receives a Dayjs object for the hour and should return a React node.
|
|
560
|
+
*/
|
|
561
|
+
renderHour?: (date: Dayjs) => React3.ReactNode;
|
|
557
562
|
}
|
|
558
563
|
declare const IlamyCalendar: React4.FC<IlamyCalendarProps>;
|
|
559
564
|
declare const isRecurringEvent: (event: CalendarEvent) => boolean;
|