wojtekmaj / react-daterange-picker

A date range picker for your React app.
https://projects.wojtekmaj.pl/react-daterange-picker
MIT License
524 stars 64 forks source link

DatePicker container #309

Closed OrhayBenaim closed 1 year ago

OrhayBenaim commented 1 year ago

Hi, is there a way or plans on adding a way to append custom components such as last month button to the date picker calendar?

wojtekmaj commented 1 year ago

Not my top priority, but it's already requested in the React-Calendar repo, so I may look into it when I get some free time.

davidgoli commented 11 months ago

Would be great to get an update on this!

davidgoli commented 11 months ago

in particular, I think this would need to come from this library, which provides the actual "position: absolute" container component. React-Calendar doesn't use absolute positioning, so it's easy to just add such buttons directly next to the react-calendar component as explained here: https://github.com/wojtekmaj/react-calendar/issues/226. However, that's not possible with react-daterange-picker.