title: How to pass text into component in React-Native? (Android)
body: <p>I'm calling the following function</p>
  <pre><code>const LevelCard = (level) =&gt; {
      const currLevel = level;
      console.log(currLevel)
      return (
          &lt;View style={{
              flex: 1,
              width: 400,
              alignItems: 'center', 
              justifyContent: 'center'
          }}&gt;
          &lt;CategoryButton
              title='Text should go here'
              onPress={() =&gt; navigation.navigate('')}
          /&gt;
          &lt;/View&gt;
      );
  }
  </code></pre>
  <p>from another component</p>
  <pre><code>function CallFunction() {
      return (
        &lt;SafeAreaView style={styles.categories}&gt;
          &lt;ScrollView horizontal={true} style={styles.scrollView}&gt;
            &lt;View&gt;
  
              &lt;LevelCard 
                  level=&quot;This is the text I want to pass&quot;
              /&gt;
  
            &lt;/View&gt;
          &lt;/ScrollView&gt;
        &lt;/SafeAreaView&gt;
      );
  }
  
  </code></pre>
  <p>but I can't figure out how to actually get the text from 'level' to show up anywhere in the react-native components. The console.log statements work correctly outside of it however.</p>
  <p>Thanks</p>