react-native-image-overlay-gallery
v0.0.1
Published
A react native image overlay component
Downloads
10
Maintainers
Readme
react-native-image-overlay
An image overlay component built using native Modal which can be invoked from anywhere in the component hierarchy.
Features
Unlike other modal/overlay components, it can be triggered from anywhere in the component hierarchy since it is using react-native Modal. no linking is required. Works out of the box for both Android and IOS. Can be customised by passing style props.
Props
This module accepts the following props:
| Prop |Explanation| Default Value |Type |
|----------|:------------------|:--------------|:--------------|
|Height
|Sets mainImgHeight,openImgHeight with react-native-responsive-screen|0|Boolean|
|width
|Sets mainImgWidth,openImgWidth react-native-responsive-screen|0|Boolean|
|BackgroundColor
|mainViewBackgroundColor, openViewBackgroundColor|gray|sting|
|renderData
|the images which will be render .|{}|object|
|accessible
| Whether internal components should be declared as accessible. Useful for iOS XCUITest.|true|Boolean|