From ba1014cc9a2eb94a2abaa3f0721387a9aca19fc0 Mon Sep 17 00:00:00 2001 From: Dan Loman Date: Fri, 22 Mar 2024 16:16:11 -0700 Subject: [PATCH] Allow selected styling while being disabled --- src/components/dayOfMonth.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/dayOfMonth.tsx b/src/components/dayOfMonth.tsx index 2e892fd..a0659ca 100644 --- a/src/components/dayOfMonth.tsx +++ b/src/components/dayOfMonth.tsx @@ -89,7 +89,7 @@ export const DayOfMonth: React.FC = ({ isDisabled={disabled} {...styleBtnProps.defaultBtnProps} {...(isInRange && !disabled && styleBtnProps.isInRangeBtnProps)} - {...(selected && !disabled && styleBtnProps.selectedBtnProps)} + {...(selected && styleBtnProps.selectedBtnProps)} {...(today && styleBtnProps.todayBtnProps)} > {date.getDate()}