How do you import DatePickerProps from antd? Which version are you using? Since for me it is not supported. I am not able to import interfaces from antd.
I am using antd 4.4.1
The version mentioned we had in the project at the time was ^4.16.1
You can easily import AntD types such as DatePickerProps for all versions above 4. You should be able to import it just like mentioned in the example
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
How do you import DatePickerProps from antd? Which version are you using? Since for me it is not supported. I am not able to import interfaces from antd.
I am using antd 4.4.1
The version mentioned we had in the project at the time was ^4.16.1
You can easily import AntD types such as DatePickerProps for all versions above 4. You should be able to import it just like mentioned in the example