title: have an error when i try import my component in react native
body: <p>I got an error when i try import my component.
  here is text of error  :
  "element type is invalid expected a string (for built-in components) or a class/function".</p>
  
  <p>Main file index.android.js</p>
  
  <pre>
  
  import React, { Component } from &#39;react&#39;;<br/>import {<br/>    AppRegistry,<br/>    StyleSheet,<br/>    Text,<br/>    View<br/>} from &#39;react-native&#39;;<br/><br/>import {Text2} from &#39;./components/Text2&#39;;<br/><br/>class p001_lesson extends Component {<br/>    render() {<br/>        return (<br/>            &lt;View&gt;<br/>                &lt;Text2/&gt;<br/>            &lt;/View&gt;<br/>        );<br/>    }<br/>}<br/><br/>AppRegistry.registerComponent(&#39;p001_lesson&#39;, () =&gt; p001_lesson);<br/>
      </pre>
  
  <pre><code>second file Text2.js
  
  &lt;pre&gt;
  import React, {Component} from 'react';
  import {
      Text,
  } from 'react-native';
  
  
  class Text2 extends Component {
      render() {
          return &lt;Text&gt;some text here&lt;/Text&gt;
      }
  }
  </code></pre>
  
  <p></p>
  
  <p>How i can fix my import? Sorry for my English :D</p>