I have been dealing with the a gradient rectangle over an Image that has a black and a transparent sides, I have been looking about a gradient object in react native and I didn\
You can use my react-native-image-filter-kit library to achieve this:
import { Image } from 'react-native'
import {
SrcOverComposition,
LinearGradient
} from 'react-native-image-filter-kit'
const masked = (
}
srcResizeMode={{ width: 1, height: 0.5 }}
srcAnchor={{ y: 0 }}
srcImage={
}
/>
)
Android:
iOS: