react-native-date-ranges
react-native-date-ranges copied to clipboard
add maxDate and minDate options to block dates
currently, we can set blockBefore or blockAfter to block future or past. but i cannot find a way to customize blocked dates
example: block dates before next week. or block dates after yesterday.
if its possible we can add blockedDates={[ [Date(2022,11,11), Date(2022,11,15) ], ...]}
to allow app to block certain dates.
or even simple blockBefore={Date(2022,11,11)}
to block all slots before dec. 11th for example.
Thanks a lot. if you need a hand i can surely help.
Hi, I strongly recommend you fork the repo and modify yourself as this pkg is no longer maintained