Skip to content

No props typings for TextInput #1948

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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