Warning: Failed propType: Invalid prop `icon` of type `object` supplied to `t`, expected `string`. Check the render method of `t`.
See original GitHub issueHi,
On a fresh install with the example given in configuration section I get this error.
Warning: Failed propType: Invalid prop
iconof type
objectsupplied to
t, expected
string. Check the render method of
t.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:13 (1 by maintainers)
Top Results From Across the Web
Warning: Failed prop type: Invalid prop `withIcon` of type ...
Warning : Failed prop type: Invalid prop withIcon of type function supplied to StudentAdd , expected boolean . const propTypes = { withIcon: ......
Read more >invalid prop `rows` of type `object` supplied to `forwardref ...
I am using react-native-snap-carousel, It worked fine, It fetches data fine but i am getting 2 warnings in that app. Warning: Failed prop...
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 >Typechecking With PropTypes - React
In this example, we're using PropTypes.string . When an invalid value is provided for a prop, a warning will be shown in the...
Read more >prop-types - npm
You might also see this error if you're calling a PropTypes validator from your own custom PropTypes validator. In this case, the fix...
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
Im not using material ui
I’m having the same errors logs that @vwrobel has. Bunch of
Unknown props
whenever I try to use one of the components