arqex / react-datetime

A lightweight but complete datetime picker react component.
2k stars 868 forks source link

Is there any support for one date picker with 2 calendars (from date to date) ? it would really be nice to have it #634

Open rayan-nativex opened 5 years ago

rayan-nativex commented 5 years ago

Using this package, I would like to have something like this:

http://airbnb.io/react-dates/?selectedKind=DateRangePicker%20%28DRP%29&selectedStory=default&full=0&addons=1&stories=1&panelRight=0&addonPanel=storybook%2Factions%2Factions-panel

https://github.com/airbnb/react-dates

Is it already supported? or is there an easy work around for it?

rikkit commented 5 years ago

That's actually two datepickers - there are two input fields. You can create two instances of react-datetime to emulate AirBnb's picker.

jai1331 commented 5 years ago

It would be better,if we have this functionality. Since many using this lib, if this component/lib have this functionality of date/time range picker, people don't look for other components.

arqex commented 4 years ago

Create your own range picker by using react-datetime is not very hard. I'll create an example when I have some time.