react-date-range
react-date-range copied to clipboard
Document Min & Max Props
I noticed as part of v2.0, min and max props were added but the documentation wasn't updated to show this.
Just thought I'd put a note in as it may be useful to a lot of people and with the documentation not containing these changes, it may have went unnoticed.
I also came to the repo not realising that these props existed. After digging it appears that minDate / maxDate don't support Date instances. Any reason for this?
Took me a while to figure it out, but minDate/maxDate should be moment instances.
https://github.com/Adphorus/react-date-range/pull/74