Typescript errors in Icon, Input, ListItem components
See original GitHub issueExplain what you did (Required)
After upgrading react-native i can see typescript errors in existing code
Icon: Property ‘tvParallaxProperties’ is missing in type… Input: Property ‘autoCompleteType’ is missing in type… ListItem: Type … is missing the following properties from type …: hasTVPreferredFocus, tvParallaxProperties ListItem.Chevron: Property ‘tvParallaxProperties’ is missing in type ‘{}’ but required in type …
Expected behavior (Required)
No typescript errors.
Describe the bug (Required)
To Reproduce (Required)
We highly recommend that you re-create the bug on Snack. If not, list the steps that a reviewer can take to reproduce the behaviour:
Screenshots (Required)
Your Environment (Required):
software | version |
---|---|
react-native-elements | 3.4.2 |
react-native | 0.66.1 |
Issue Analytics
- State:
- Created 2 years ago
- Reactions:30
- Comments:9
Top Results From Across the Web
React how to use icon inside Textfield Material-UI with ...
Use the TextField Props InputProps to customize the input field. And use startAdornment , endAdornment to customize the prefix/suffix.
Read more >The List Component - React-admin - Marmelab
The <List> component fetches the list of records from the data provider, and renders the default list layout (title, buttons, filters, pagination).
Read more >Deciphering TypeScript's React errors | by Fiona Hopkins |
The combination of TypeScript and React can lead to some hairy error messages when you get one of your props wrong. This guide...
Read more >Components - NativeBase
NativeBase includes components such as anatomy of your app screens, header, input, buttons, badge, icon, form, checkbox, radio-button, list, card, ...
Read more >Form Element - Lightning Design System
About Form Elements. Form Label; Form Control; Form Input Elements; Accessibility; Mobile. Base; States. View Mode/Static; Inline Edit; Help Text Icon.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
https://reactnative.dev/docs/touchableopacity#tvparallaxproperties-android The maintainers will probably need to change these properties to optional in the ts definition files or simply extend the properties from the original elements used by the lib, which will save a lot of work and maintenance?
This is a duplicate of #3227.
As explained in the other issue, this is fixed in the latest git version, you can install
react-native-elements
from git until this is fixed.