transparent background react native code example
Example 1: background transparent react native
background: {
position: 'absolute',
marginTop: 20,
top: 0,
bottom: 0,
left: 0,
right: 0,
opacity: 0.5,
}
Example 2: react native view background transparency
backgroundColor: 'rgba(52, 52, 52, 0.8)'