We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I would like to know how to do something like this:
import DatePicker from 'react-datepicker' <DatePicker onChange={(date) => OnDataChange(date)} />
So far, everything works well, but I have to define OnDataChange like this:
OnDateChange : (date : [Date | null | undefined, Date | null | undefined]) => void
This does not work because it does not align with the library type of onChange.
onChange
How can I override this property, I`m using react and typescript.
The text was updated successfully, but these errors were encountered:
Hi! if you use two dates as tuple, you can use date range components. For example, created startDate and endDate states
Sorry, something went wrong.
No branches or pull requests
I would like to know how to do something like this:
So far, everything works well, but I have to define OnDataChange like this:
This does not work because it does not align with the library type of
onChange
.How can I override this property, I`m using react and typescript.
The text was updated successfully, but these errors were encountered: