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