title: React Native: can't find variable: StyleSheet
body: <p>I'm trying to style a Text element but I'm getting the following error: </p>
  
  <p><strong>Can't find variable: StyleSheet</strong></p>
  
  <p>This is the code:</p>
  
  <pre><code>import React from 'react';
  import {Text} from 'react-native';
  
  const Header = () =&gt; (
      &lt;Text style = {styles.textStyle}&gt;This is the header&lt;/Text&gt;
  );
  
  const styles = StyleSheet.create({
     textStyle: {
        fontSize: 20
    }
  });
  export default Header;
  </code></pre>
  
  <p>I can figure out what the problem is, did I miss something?</p>