This release adds the dayPickerProps to the values returned by useDayPicker, enabling access to these props from custom components.
Thanks to the work by @rodgobbi, we could enhance the performance when selecting a range of days.
We’ve also updated the default style to preserve the font-family inherited from the parent element. To restore the previous behavior, update the .rdp-root CSS class to include font-family: system-ui.
What's Changed
- feat: return
dayPickerPropsfromuseDayPickerby @gpbl in #2572 - fix(style): remove system-ui font family from default style by @gpbl in #2573
- Improve performance when selecting long ranges of days by @rodgobbi in #2537
New Contributors
Full Changelog: v9.2.1...v9.3.0