大家好,我正在尝试使用灯箱。这是我的源代码。
<Lightbox>
<Image
source={require('../img/sample.png')}
style={{
width: 300,
height: 200,
resizeMode: 'contain',//also tryed cover
borderRadius: 8,
}}
/>
</Lightbox>
它像这样打开图像。我该如何解决它
到
添加了新代码但相同