felixrieseberg / felixrieseberg/React-Dropzone-Component
'DropzoneComponent' does not have any construct or call signatures
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 999
- Forks
- 148
- PR merge metrics
- No merged PRs in 30d
Description
I am using react typescript getting the following error.
TypeScript error in FileUpload.tsx(99,18):
JSX element type 'DropzoneComponent' does not have any construct or call signatures. TS2604
> 99 | <DropzoneComponent config={componentConfig}
| ^
100 | eventHandlers={eventHandlers}
101 | djsConfig={djsConfig} />
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the TypeScript error at FileUpload.tsx line 99 with the DropzoneComponent JSX and inspect how DropzoneComponent is exposed to TypeScript. Use the config, eventHandlers, and djsConfig props shown in the report; done means the component type-checks without TS2604.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100