question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Typescript errors in Icon, Input, ListItem components

See original GitHub issue

Explain 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:closed
  • Created 2 years ago
  • Reactions:30
  • Comments:9

github_iconTop GitHub Comments

4reactions
kickbkcommented, Dec 1, 2021

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?

3reactions
renchapcommented, Dec 13, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found