arqex / arqex/react-datetime

InputProps typescript custom attributes problem

Open
#470 0 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
[ ] Support request
```

### Steps to Reproduce
Have **typescript** installed and **.TSX file** with **DateTime** element with **inputProps** and add custom attribute like anything **data-...** which is valid attribute
![image](https://user-images.githubusercontent.com/3399021/32895618-f06c0860-cae0-11e7-93da-28ebf33d42c0.png)

### Expected Results
No errors

### Actual Results
Error: Property ''data-tip'' does not exist on type 'HTMLProps'.

### Other Information (e.g. stacktraces, related issues, suggestions how to fix)
Change React.HTMLProps to other type (not sure which)

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.