UNPKG

react-custom-calendarss

Version:

A calendar that can be customized to your liking 🧨

16 lines (15 loc) • 478 B
interface WeekCalendarOptions { type: string; initialDate?: Date; } declare const WeekCalendar: ({ type, initialDate }: WeekCalendarOptions) => { currentDate: string; setCurrentDate: import('react').Dispatch<import('react').SetStateAction<string>>; weekDates: string[]; monthlyWeekGrid: string[][]; moveToNext: () => void; moveToPrev: () => void; moveToPeriod: (delta: number) => void; matrix: number[][]; }; export default WeekCalendar;