Complete the code to import the React Native Image component.
import { [1] } from 'react-native';
The Image component is used to display images in React Native.
Complete the code to set the image source from a local file.
<Image source={{ [1] }} style={{ width: 100, height: 100 }} />Local images use require() to load the file in React Native.
Fix the error in the code to resize the image properly.
<Image source={require('./assets/image.png')} resizeMode="[1]" style={{ width: 200, height: 200 }} />The resizeMode property accepts values like cover to scale the image while preserving aspect ratio.
Fill both blanks to create an optimized image with caching and fixed size.
<Image source={{uri: 'https://example.com/image.png', [1]: "[2]" }} style={{ width: 150, height: 150 }} />Setting source={{uri: 'https://example.com/image.png', cache: 'default'}} enables caching for remote images to improve performance.
Fill all three blanks to create a thumbnail image with blur effect while loading.
<Image source={{uri: 'https://example.com/photo.jpg'}} [1]="[2]" [3]={10} style={{ width: 100, height: 100 }} />Use resizeMode='cover' to scale image nicely and blurRadius={10} to blur the image while loading.