Skip to main content

⚙️ Months Calendar

PropTypeDefaultDescription
disabledMonths(Date | Moment)[]Array of objects specifying which months to disable.
disabledYears(Date | Moment)[]Array of years to disable in the calendar.
renderMonth(renderedValue: string, date: Date, props: HTMLAttributes<any>, state: MonthCellState) => ReactNodeA function that returns a custom element for each month cell in the calendar.
disabledDatesFn(date: Date) => booleanFunction to disable dates dynamically.
onSelect(date: Date) => voidCalled when a user clicks a month; receives the clicked date as a Date object.