Overlay
Overlay view with types
(code example)
info
This component extends Image props.
#
Usage<Image source={{uri: 'https://github.com/wix/react-native-ui-lib/blob/master/demo/src/assets/images/card-example.jpg'}} overlayType={Image.overlayTypes.BOTTOM}/>
#
API#
colorThe overlay color
string
#
customContentCustom overlay content to be rendered on top of the image
JSX.Element
#
intensityThe intensity of the gradient.
low | medium | high
#
typeThe type of overlay to set on top of the image
vertical | top | bottom | solid (OverlayTypeType)