Skip to content

Commit

Permalink
Merge pull request #77 from namolnad/main
Browse files Browse the repository at this point in the history
Allow selected styling while being disabled
  • Loading branch information
aboveyunhai committed Apr 14, 2024
2 parents c537054 + ba1014c commit 9a7a95c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/dayOfMonth.tsx
Expand Up @@ -89,7 +89,7 @@ export const DayOfMonth: React.FC<DayOfMonthProps> = ({
isDisabled={disabled}
{...styleBtnProps.defaultBtnProps}
{...(isInRange && !disabled && styleBtnProps.isInRangeBtnProps)}
{...(selected && !disabled && styleBtnProps.selectedBtnProps)}
{...(selected && styleBtnProps.selectedBtnProps)}
{...(today && styleBtnProps.todayBtnProps)}
>
{date.getDate()}
Expand Down

0 comments on commit 9a7a95c

Please sign in to comment.