Skip to content

v3.1.0

Compare
Choose a tag to compare
@dmtrKovalenko dmtrKovalenko released this 04 Jun 06:44
· 444 commits to next since this release

Fixing backward compatibility issues of v3.0.0

Features

  • Async month changed callbacks (#1052)

From now it is possible to return a promise from onMonthChange and Datepicker will render loading indicator till it will not be resolved

<DatePicker
  onMonthChange={async () => {
     const availableDates = await fetch()
     setState(availableDates)
  })
/>
  • [DatePicker] add strictCompareDates prop (#1067)
    It is used to make datepicker compare not start/end of day but the actual passed timestamp

Fixes / Enhancements