Closed ArthurAttout closed 6 years ago
When I try to run the app with the following properties
<CardView cardElevation={2} cardMaxElevation={2} backgroundColor='#ffffff'>
<CardView
cardElevation={2}
cardMaxElevation={2}
backgroundColor='#ffffff'>
I have a TypeError, telling that the attribute BackgroundColor must be a double instead of a string. Which type of color encoding is expected here ? Should it resolve to a R.color attribute ?
Nevermind, I had to use stylesheets instead of directly using the prop in the markup
When I try to run the app with the following properties
<CardView
cardElevation={2}
cardMaxElevation={2}
backgroundColor='#ffffff'>
I have a TypeError, telling that the attribute BackgroundColor must be a double instead of a string. Which type of color encoding is expected here ? Should it resolve to a R.color attribute ?