Warning: Failed propType: Invalid props.style key 'color' supplied to [ 'View' | 'RCTView' ]
See original GitHub issueOriginal issue submitted here… https://github.com/start-react/native-starter-kit/issues/10
I’m using native-starter-kit
, which uses native-base
. In both iOS and Android simulators, I’m receiving these warnings after clicking “Login”
iOS
Android
I believe the error is occurring in /native-base/Components/Widgets/Button.js, but I haven’t been able to locate it yet.
Issue Analytics
- State:
- Created 7 years ago
- Comments:17 (6 by maintainers)
Top Results From Across the Web
Failed propType: Invalid props.style key 'color' supplied to ...
You already set backgroundColor which is supported property by View component so simply removing this: color: "white".
Read more >Failed propType: Invalid props.style key 'color ... - GitHub
Warning : Failed propType: Invalid props.style key 'color' supplied to [ 'View' | 'RCTView' ] I used color property in react native app...
Read more >Invalid props.style key 'textAlign' supplied to 'View'-Reactjs
Coding example for the question Failed prop type: Invalid props.style key 'textAlign' supplied to 'View'-Reactjs.
Read more >Invalid Prop Types: Prop.Style Key Fontsize Supplied To View
React router error Failed prop type: Invalid prop children supplied to Switch Invalid props.style key 'color' supplied to [ 'View' | 'RCTView' ]....
Read more >A brand new website interface for an even better experience!
Warning : Failed prop type: Invalid props.style key `color` supplied to `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 Free
Top 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
use xxxStyle: Text.propTypes.style
This issue is so annoying, not because NativeBase has something to do with this issue, but since it is the same company whom I payed 100$ for a start kit which has not compatible with the open source written by company, causing this issue. Why the hack I payed you guys? to read this F**n post and to get stack with the warnings?? I expect that the NativeBase Commercial and NativeBase Social that cost me 200$ will work with the latest NativeBase out of the box! I do not recommend any one to buy the kits from NativeBase until they will fix those issue!!!