arqex / arqex/react-datetime

'Datetime' cannot be used as a JSX component. Its instance type 'ReactDatetimeClass' is not a valid JSX element.

Open
#829 2 comments 0 reactions 0 assignees View on GitHub
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
[x] Support request
```

### Steps to Reproduce

During Yarn build we are getting the below error.

'Datetime' cannot be used as a JSX component.
Its instance type 'ReactDatetimeClass' is not a valid JSX element.

We are using react-datetime inside the functional component.
We are trying to use

react-datetime version = v3.1.1
yarn version = v1.22.5
node version = v14.15.0

### Expected Results

Successful yarn build for react-datetime

### Actual Results

'Datetime' cannot be used as a JSX component.
Its instance type 'ReactDatetimeClass' is not a valid JSX element.

### Minimal Reproduction of the Problem

### Other Information (e.g. stacktraces, related issues, suggestions how to fix)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.