Stay informed
Subscribe to our newsletter if you'd like to stay informed about Shoutem Extensions and Shoutem UI Toolkit.
All content within Lightbox
is transformable, meaning it can be pinched to zoom, panned (translated), etc.
Lightbox
content instead of default child contentLightbox
is closedLightbox
is openedblack
Lightbox
background, defaults to black
true
true
Animated.spring
configuration, defaults to { tension: 30, friction: 7 }
Lightbox
has no specific style names.
Style
prop that the standard React Native View
component supports. style
is applied to outermost View
container component<Lightbox>
<Image
style={{ height: 300 }}
source={{ uri: 'https://shoutem.github.io/static/getting-started/restaurant-1.jpg' }}
/>
</Lightbox>