Sets calendar pastScrollRange to 10 years

This commit is contained in:
emelko
2020-09-20 15:02:51 +02:00
parent 6de05f0d70
commit 4f4dc85f8c
+2
View File
@@ -77,6 +77,8 @@ class CalendarView extends Component {
markedDates={markedDates} markedDates={markedDates}
markingType={'custom'} markingType={'custom'}
theme={calendarTheme} theme={calendarTheme}
// Max amount of months allowed to scroll to the past.
pastScrollRange={120}
/> />
</View> </View>
) )