Sets calendar pastScrollRange to 10 years
This commit is contained in:
1 parent
6de05f0d70
commit
4f4dc85f8c
1 file changed
+2
@@ -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>
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user