Custom navigation (previous, next) buttons
Is there a way to replace those previous / next month button icons with custom icons (React.ReactNode) ?
Hi @communityFabian , you should be able to achieve this by using a custom header:
https://reactdatepicker.com/#example-custom-header
Alternatively, you can also add custom content to the buttons using the props previousMonthButtonLabel and nextMonthButtonLabel. You'll also need to adjust the css for those buttons because the default "icons" are really just borders. (So add width and height and remove border.)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 10 days.