Sets calendar pastScrollRange to 10 years
This commit is contained in:
@@ -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>
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user