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.

Remove tvParallaxProperties from required in `IconButtonProps`

See original GitHub issue

Is your feature request related to a problem? Please Describe.

My IDE always shows an error because each icon requires a tvParallaxProperties prop even though I would wager 99% of people are not developing for TV, nor does leaving this prop out break anything.

dist/icons/Icon.d.ts line 41

Describe alternatives you’ve considered

Additional context

version ^3.4.2

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
arpitBhallacommented, Jul 16, 2022

@hlspablo sure

0reactions
hlspablocommented, Jul 16, 2022

@arpitBhalla its possible to make this fix available to v3?, v4 still in RC and can break things… its very annoying see error everywhere in my project…, and for while i would like to stick with v3

Read more comments on GitHub >

github_iconTop Results From Across the Web

Typescript errors in Icon, Input, ListItem components #3231
ListItem.Chevron: Property 'tvParallaxProperties' is missing in type '{}' but required in type ... Expected behavior (Required). No typescript ...
Read more >
What do I need tvParallaxProperties for? (react-native- ...
Like docs says tvParallaxProperties are for (Apple TV only) Object with properties to control Apple TV parallax effects.
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