1.0.2 • Published 5 years ago
react-native-scale-image v1.0.2
react-native-scale-image
react native 根据样式(width、maxWidth、minWidth、height、maxHeight、minHeight)自动适配等比缩放图片,且无需都设置宽高度
安装
npm install react-native-scale-image --save
属性/方法
react native image 所有属性/方法
注意
仅属性resizeMode为stretch启动缩放,其他resizeMode属性值效果不变