title: React Native won't recognise import
body: <p>I'm trying to import a component into another, but react native keeps throwing error of:</p>
  <blockquote>
  <p>[Error: undefined Unable to resolve module <code>./components/ColorBox</code> from <code>App.js</code>:</p>
  </blockquote>
  <p>Below is an image describing my file structure:</p>
  <p><a href="https://i.stack.imgur.com/HwEd7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HwEd7.png" alt="enter image description here" /></a></p>