react-date-range icon indicating copy to clipboard operation
react-date-range copied to clipboard

Document Min & Max Props

Open BenjaminRCooper opened this issue 10 years ago • 3 comments

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.

BenjaminRCooper avatar Mar 08 '16 11:03 BenjaminRCooper

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?

alexjesp avatar Mar 24 '16 16:03 alexjesp

Took me a while to figure it out, but minDate/maxDate should be moment instances.

gabrielflorit avatar May 05 '16 22:05 gabrielflorit

https://github.com/Adphorus/react-date-range/pull/74

burakcan avatar Nov 26 '16 15:11 burakcan