Skip to content

No props typings for TextInput #1948

@jclem

Description

@jclem

Describe the bug

The TextInput component has no props other than key and ref:

CleanShot 2022-03-10 at 12 18 59@2x

Note that the type of onKeyDown is inferred as true because the effective types for TextInput appear to be essentially any & React.RefAttributes & React.Attributes (meaning any along with key and ref).

To Reproduce

Edit TextInput components anywhere, such as in the TextInput.test.tsx file.

Metadata

Metadata

Labels

bugSomething isn't workingreact

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions