Issues from 3.0.0 to 3.1.2
Opened this issue · 1 comments
nick-gaudreau-omd commented
I cannot import dropzone component as in 3.0.0 anymore:
import DropzoneComponent from 'react-dropzone-component';
with 3.1.2 I have to use import * as DropzoneComponent from 'react-dropzone-component';
That's fine... but now the component event handlers complains that the events (removeFile, processing, error) does not math the return type which are now FileCallBack and ErrorCallback.. which is fine again. I corrected that...
But where I get stuck, is there's still one last type mismatch. Typescript complains that "property 'push' is missing in type" for those 3 events
Could you help on how to fix or could it be something missing in type.d.ts?
AMEspino commented
Hello, have you resolved this? Facing the same issue here.