transparent gradient do not work
Closed this issue · 1 comments
KingAmo commented
as react-native-linear-gradient readme says: https://github.com/react-native-community/react-native-linear-gradient#transparent-gradient
we could use transparent gradient, but it seems do not work on web
// RGBA
<LinearGradient colors={['rgba(255, 255, 255, 0)', 'rgba(255, 255, 255, 1)']} {...otherGradientProps} />
// Hex
<LinearGradient colors={['#FFFFFF00', '#FFFFFF']} {...otherGradientProps} />
``
KingAmo commented
my fault