react-multi-date-picker
react-multi-date-picker copied to clipboard
Passing currentDate argument does not work.
I want to pass a custom datetime to the component, but it does not work, why ?
<DatePicker
currentDate={
new DateObject({
year: 2021,
month: 2,
day: 1,
})
}
highlightToday={false}
className={getBaseClassNames}
ref={ref}
{...rest}
/>