Month navigation dropdown and buttons in v8 #1425
-
Hi, Is there an easier way to achieve this than reimplementing the Caption from scratch? There doesn't seem to be a way to import YearsDropdown and MonthsDropdown. Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
My problem was including both as that there's a limited space: Anyway, v8.0.2 has a smaller Caption component and the new |
Beta Was this translation helpful? Give feedback.
-
Thank you. With your help, 8.0.2 was all that was required. A simple custom caption and slightly reducing the font size on the caption did the trick. Our code below for reference in case anyone else is trying to achieve this. Thanks again,
and when using DayPicker ....
... |
Beta Was this translation helpful? Give feedback.
My problem was including both as that there's a limited space:
Anyway, v8.0.2 has a smaller Caption component and the new
CaptionNavigation
/CaptionDropdowns
components that should help in your task.