reactjs - Reset Child opacity in react native -
so have drawer has background black opacity 0.5 , works fine.i can see transparency.now problem button having opacity dont want , how reset opacity 1 ?i tried rgba , still opacity not resetting in react native.
<view style={{backgroundcolor:'black',opacity:0.5,height:'100%'}}> <button backgroundcolor:'black',opacity:1> <text>click here </text> </button> </view>
use 8 digit hex code background color , remove opacity.
<view style={{ backgroundcolor: '#80000000, height: '100%'}}>
Comments
Post a Comment