diff --git a/packages/ui/src/components/Datepicker/Views/Days.tsx b/packages/ui/src/components/Datepicker/Views/Days.tsx index f91a0843f..4642de956 100644 --- a/packages/ui/src/components/Datepicker/Views/Days.tsx +++ b/packages/ui/src/components/Datepicker/Views/Days.tsx @@ -25,6 +25,7 @@ export interface DatepickerViewsDaysTheme { selected: string; disabled: string; today: string; + outside: string; }; }; } @@ -65,6 +66,7 @@ export function DatepickerViewsDays() { const isDisabled = !isDateInRange(currentDate, minDate, maxDate) || (filterDate && !filterDate(currentDate, Views.Days)); const isToday = isDateToday(currentDate); + const isOutside = currentDate.getMonth() !== viewDate.getMonth(); return (