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

    Use this prop to display a button on the calendar's footer to switch to the current month (example).

    Use this props to display and interact with the year's week numbers (example).

    For example, to match Sundays and Mondays:

      <DayPicker
        disabledDays={
      -    day => day.getDate() === 0 || day.getDate() === 1
      +    daysOfWeek: [0, 1]
        }
      />