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}
markingType={'custom'}
theme={calendarTheme}
// Max amount of months allowed to scroll to the past.
pastScrollRange={120}
/>
</View>
)