You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What version of TypeScript are you using (if any)?
4.3.5
What browser are you using?
Chrome
Describe the Bug
Hi there! After import methods in this example with shouldDisableDate https://rsuitejs.com/components/date-range-picker/
Methods not works and i got error like in screenshot. How i can avoid this error and pass available date range to shouldDisableDate prop?
Expected Behavior
No response
To Reproduce
No response
The text was updated successfully, but these errors were encountered:
Hi @MikhailBakaevdev , The reason for this problem is that the declaration of the afterToday function in TypeScript may be undefined. You can temporarily solve this problem in the following ways:
What version of rsuite are you using?
5.50.0
What version of React are you using?
18.2.0
What version of TypeScript are you using (if any)?
4.3.5
What browser are you using?
Chrome
Describe the Bug
Hi there! After import methods in this example with shouldDisableDate https://rsuitejs.com/components/date-range-picker/
Methods not works and i got error like in screenshot. How i can avoid this error and pass available date range to shouldDisableDate prop?
Expected Behavior
No response
To Reproduce
No response
The text was updated successfully, but these errors were encountered: