CalendarPicker
CalendarPicker copied to clipboard
initialDate.clone is not a function
When passing a JS date object as an initialDate to <CalendarPicker /> (which is the type of the initialDate prop) I get an error initialDate.clone is not a function. I'm forced to pass in a MomentJS object in instead and type cast as unknown as Date.