/** * @flow */ import sources from '../sources'; import React from 'react'; import { Image, StyleSheet, Text, View } from 'react-native'; const ImageSourceExample = () => ( Static image Progressive JPEG Animated GIF PNG (base64) SVG (base64) SVG (inline data) ); const styles = StyleSheet.create({ row: { flexDirection: 'row', flexWrap: 'wrap', justifyContent: 'space-between' }, column: { alignItems: 'flex-start', marginBottom: '1rem' }, text: { marginBottom: '0.5rem' }, image: { borderColor: 'black', borderWidth: 0.5, height: 120, width: 120, resizeMode: 'cover' } }); export default ImageSourceExample;