Skip to content

Commit 5d56bd9

Browse files
committed
TodayButton - fix disabledOpacity default value (#2084)
1 parent dd9287e commit 5d56bd9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

example/src/screens/expandableCalendarScreen.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const ExpandableCalendarScreen = (props: Props) => {
4040
// onDateChanged={onDateChanged}
4141
// onMonthChange={onMonthChange}
4242
showTodayButton
43-
disabledOpacity={0.5}
43+
// disabledOpacity={0.6}
4444
theme={todayBtnTheme.current}
4545
// todayBottomMargin={16}
4646
>

src/expandableCalendar/Context/todayButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const TodayButton = (props: TodayButtonProps, ref: any) => {
3838

3939
const {
4040
margin = 0,
41-
disabledOpacity = 0,
41+
disabledOpacity = 0.3,
4242
theme,
4343
style: propsStyle,
4444
} = props;

0 commit comments

Comments
 (0)