Answers for "react native parent opcaity not affecting text"

0

react native parent opcaity not affecting text

Try changing the opacity using alpha-value of the background color
instead of opacity props. 
Then it should be possible applying different opacities for children.

For example:

<View style={{backgroundColor: 'rgba(0,0,0,0.5)'}}/>
Posted by: Guest on August-23-2021

Code answers related to "react native parent opcaity not affecting text"

Code answers related to "Javascript"

Browse Popular Code Answers by Language