Let's assume your folder images is named with 'img' and it is put in 'src' folder and your image name is myImage.png.
Now, your code would be like this:
File: App.js
import React from 'react';
import ImagesExample from './ImagesExample.js'
const App = () => {
return (
<ImagesExample />
)
}
export default App
Now, for accessing image,
File: imageexample.js_
import React, { Component } from 'react'
import { Image } from 'react-native'
const ImagesExample = () => (
<Image source = {require('C:/Users/Tutorialspoint/Desktop/NativeReactSample/logo.png')} />
)
export default ImagesExample
You can read this link for more about this code: https://www.tutorialspoint.com/react_native/react_native_images.htm