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.

ListItem: "Failed prop type: Invalid prop `Component` supplied to `PadView`."

See original GitHub issue

Explain what you did Running my app as usual after upgrading from react-native 0.60.5 to 0.61.1

Expected behaviour Should not throw a warning/error

Describe the bug ListItem throws a warning/error. It did not do that on react-native 0.60.5

It does seem to render just fine, it just gives an warning/error in the console.

To Reproduce Just render some ListItem’s. I get the error when rendering multiple basic <ListItem title="test" />

Possible Solution Don’t know…

Screenshots Screenshot 2019-09-25 at 18 56 04

Sorry for the small text, but it was the only way to capture the whole error/warning

software version
react-native-elements 1.2.1
react-native 0.61.1
npm 6.8.0

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:6
  • Comments:7

github_iconTop GitHub Comments

4reactions
iRoachiecommented, Jan 29, 2020

Fixed in v1.2.2. Thanks to everyone for reporting so quickly.

1reaction
betoharrescommented, Sep 30, 2019

Thank you so much @iRoachie for the quick update! This is why I love this library!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Warning: Failed prop type: Invalid prop `Component` supplied ...
Warning: Failed prop type: Invalid prop Component supplied to PadView . Hi, I am new to react-native, the red message just keep showing...
Read more >
Failed prop type: invalid prop react native - 免费编程教程
ListItem : "Failed prop type: Invalid prop `Component` supplied to ,. Ideally the Image should be displayed when I am passing the locally...
Read more >
How to validate React props using PropTypes - LogRocket Blog
Learn how to validate props with React PropTypes, React's internal mechanism for adding type checking to component props.
Read more >
react-native-elements | Yarn - Package Manager
... fix(ListItem): Fix Component propType for PadView #1645 ... (ts) imageProps declaration for Card component #783; Fixes failed prop type/style #740 #763 ...
Read more >
How To Use PropTypes In React - Web Dev Simplified Blog
Warning: Failed prop type: Invalid prop age of type string supplied to Component , expected number . This is great since we can...
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