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
import*asRDPfrom'react-datepicker';import"react-datepicker/dist/react-datepicker.css";// this is a workaround for react-datepicker issue// https://github.com/Hacker0x01/react-datepicker/issues/1333#issuecomment-1251934708constDatePickerBase=(((RDP.defaultasany).defaultasany)||(RDP.defaultasany)||(RDPasany))astypeofRDP.defaultexportconstDatePicker=(props: any)=>{return(<DatePickerBase{...props}showIcon/>);};
The basic example, the first example shown in the docs is not working for me. I get the following error:
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.
The text was updated successfully, but these errors were encountered: