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
I'm trying to use Paper's TextInput in other components that expect typeof React Native's TypeInput, however, fail:
Property 'State' is missing in type 'CompoundedComponent' but required in type 'typeof TextInput'.
Expected behaviour
I think Paper's TextInput shall support Static property. It's in there at least since the split of types at React Native that happened more than a year ago.
Hey! Thanks for opening the issue. Can you provide a minimal repro which demonstrates the issue? Posting a snippet of your code in the issue is useful, but it's not usually straightforward to run. A repro will help us debug the issue faster. Please try to keep the repro as small as possible. The easiest way to provide a repro is on snack.expo.dev. If it's not possible to repro it on snack.expo.dev, then you can also provide the repro in a GitHub repository.
Hello 👋, this issue has been open for more than a month without a repro or any activity. If the issue is still present in the latest version, please provide a repro or leave a comment within 7 days to keep it open, otherwise it will be closed automatically. If you found a solution or workaround for the issue, please comment here for others to find. If this issue is critical for you, please consider sending a pull request to fix it.
Current behaviour
I'm trying to use Paper's TextInput in other components that expect typeof React Native's TypeInput, however, fail:
Expected behaviour
I think Paper's TextInput shall support Static property. It's in there at least since the split of types at React Native that happened more than a year ago.
How to reproduce?
Try the following in TypeScript:
TextInput as typeof ReactTextInput
Preview
What have you tried so far?
Your Environment
The text was updated successfully, but these errors were encountered: