react-native-ui-lib
Version:
[](https://stand-with-ukraine.pp.ua)
21 lines (20 loc) • 716 B
JSON
{
"name": "ProgressiveImage",
"category": "media",
"description": "Image component that loads first a small thumbnail of the images, and fades-in the full-sized image with animation once it's loaded",
"extends": ["media/AnimatedImage"],
"example": "https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/ProgressiveImageScreen.js",
"props": [
{
"name": "thumbnailSource",
"type": "ImageSource",
"description": "Small thumbnail source to display while the full-size image is loading"
}
],
"snippet": [
"<ProgressiveImage",
" source={{uri: $1, cache: 'reload'}}",
" thumbnailSource={{uri: $2, cache: 'reload'}}",
"/>"
]
}