change img local to url react native code example
Example: add image in react native
<Image
source={{ uri: 'app_icon' }}
style={{ width: 40, height: 40 }}
/>
<Image
source={{ uri: 'app_icon' }}
style={{ width: 40, height: 40 }}
/>