Skip to content

Commit

Permalink
Allow selected styling while being disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
namolnad committed Mar 22, 2024
1 parent c537054 commit ba1014c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/dayOfMonth.tsx
Original file line number Diff line number Diff line change
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 ba1014c

Please sign in to comment.