React-dates: reopenPickerOnClearDates - Signature TypeScript doesn't match actual props

Created on 23 Apr 2019  路  1Comment  路  Source: airbnb/react-dates

Hello, I use [email protected] and I notice the following issue:

The TypeScript signature of the SingleDatePicker component contains a reopenPickerOnClearDates props but the actual component has reopenPickerOnClearDate (without s).

Below my actual code:

<SingleDatePicker
    date={this.date}
    onDateChange={this.handleDateChange}
    focused={this.focused}
    onFocusChange={this.handleFocusChange}
    id="Date"
    showClearDate
    reopenPickerOnClearDates
 />

Thanks for your help ;)

>All comments

This repo has no type definitions; please file an issue in DefinitelyTyped instead.

Was this page helpful?
0 / 5 - 0 ratings