You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The TextInput component has no props other than key and ref:
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.
The text was updated successfully, but these errors were encountered:
jclem
changed the title
No props typing for TextInput
No props typings for TextInputMar 10, 2022
Describe the bug
The
TextInput
component has no props other thankey
andref
:Note that the type of
onKeyDown
is inferred astrue
because the effective types forTextInput
appear to be essentiallyany & React.RefAttributes & React.Attributes
(meaningany
along withkey
andref
).To Reproduce
Edit
TextInput
components anywhere, such as in theTextInput.test.tsx
file.The text was updated successfully, but these errors were encountered: