How to use maxDate can anyone give an example? #601
Answered
by
wojtekmaj
19PA1A0548
asked this question in
Q&A
-
I want to set the user to pick only dates before a particular date and I should use maxDate can anyone give me an example of how to use it. |
Beta Was this translation helpful? Give feedback.
Answered by
wojtekmaj
Apr 10, 2022
Replies: 1 comment
-
As documented in README, https://codesandbox.io/s/react-calendar-max-date-ytqfly?file=/src/App.js |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
wojtekmaj
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As documented in README,
maxDate
accepts Date() object:https://codesandbox.io/s/react-calendar-max-date-ytqfly?file=/src/App.js