Type '{ selectsMultiple: true | undefined; onChange: ((date: Date | null, event?: MouseEvent<HTMLElement, MouseEvent> | KeyboardEvent<HTMLElement> | undefined) => void) | ((date: [...], event?: MouseEvent<...> | ... 1 more ... | undefined) => void) | ((date: Date[] | null, event?: MouseEvent<...> | ... 1 more ... | undefi...' is not assignable to type 'IntrinsicAttributes & (IntrinsicClassAttributes<DatePicker> & (({ css?: Interpolation<Theme>; } & Pick<...> & InexactPartial<...> & InexactPartial<...>) | ({ ...; } & ... 2 more ... & InexactPartial<...>) | ({ ...; } & ... 2 more ... & InexactPartial<...>)))'.