react-native-sdwebimage
v1.3.1
Published
SDWebImage for React Native iOS
Downloads
120
Maintainers
Readme
Getting started
$ npm install react-native-sdwebimage --save
Mostly automatic installation
$ react-native link react-native-sdwebimage
$ cd ios && pod install
Usage
import RNSDWebImage from 'react-native-sdwebimage';
<RNSDWebImage
style={{ width: 100, height: 100 }}
source={{
uri: 'https://i.imgur.com/Hep1hx2.jpg',
priority: RNSDWebImage.priority.high
}}
resizeMode="cover"
/>
License
React Native SDWebImage is MIT licensed, as found in the LICENSE file.