JSX element type 'Datetime' does not have any construct or call signatures.
- Dominant language
- JavaScript
- Stars
- 2k
- Forks
- 858
- PR merge metrics
- No merged PRs in 30d
Description
### I'm Submitting a ...
```
[x] Bug report
[ ] Feature request
[ ] Support request
```
### Minimal Reproduction of the Problem
I am using the latest version of typescript 3.4.1 & the latest version of react-datetime 2.16.3, and after following the ReadMe Typescript instructions i get this error...JSX element type 'Datetime' does not have any construct or call signatures.
Contributor guide
Research direction
Start with the README's TypeScript instructions and reproduce the JSX error using TypeScript 3.4.1 and react-datetime 2.16.3. Check the package's published usage and API documentation, then verify that the documented TypeScript example compiles without the reported construct-or-call-signature error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100