react-day-picker v5.5.0 Release Notes
Release Date: 2017-05-09 // almost 7 years ago-
๐ New DayPickerInput component
๐ Use the
DayPickerInput
component to render an input field interacting with the day picker (#213).๐ See example, ๐ docs and ๐ API reference.
๐ New features
- ๐ New
todayButton
prop (#329).
Use this prop to display a button on the calendar's footer to switch to the current month (example).
- ๐ New
showWeekDays
andonWeekClick
props (#304).
Use this props to display and interact with the year's week numbers (example).
- ๐ New
daysOfWeek
modifiers type to match days of the weeks (#330).
For example, to match Sundays and Mondays:
<DayPicker disabledDays={ - day => day.getDate() === 0 || day.getDate() === 1 + daysOfWeek: [0, 1] } />
- ๐ New