Local vs Network Images
Understand that local images use require(), not a uri object.
Codejavascript
import React from 'react';
import { Image } from 'react-native';
export default function Logo() {
return (
<Image
source={{ uri: './assets/logo.png' }}
style={{ width: 100, height: 100 }}
/>
);
}What is the bug in this code?