title: How to access assets in other folders in react native?
body: <p>I want to access this image in my component.
  I know how to add images in root directory files with <code>'./assets/image.png'</code>
  But not able to add in this <code>iteamscomponents.js</code></p>
  <p><a href="https://i.stack.imgur.com/8MoOj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8MoOj.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/frqxS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/frqxS.png" alt="enter image description here" /></a></p>
  <p>I added this code in <code>iteamscomponents.js</code></p>
  <p>but it gives an error <code>undefined Unable to resolve module ./assets/icons8_search_200px_3.png from components\ItemsComponent.js:</code></p>