title: Why is this.props.children not recognized
body: <p>I made a small app in react-native and it won't recognize this.props. Here is the code in <code>let child = this.props.children;</code></p>
  
  <p>I have searched a lot of tutorials but didn't find a solution</p>
  
  <pre><code>import React,{Component} as react from 'react';
  import {
    StyleSheet,
    View,
    TouchableHighlight,
    Dimensions,
    Animated,
    Image,
  } from 'react-native';
  
  class TabItem extends Component{
    constructor(props)  {
      super(props);    
    }
  
    render() {
      let child = this.props.children;
  
      return (    
        // Code omitted
      );
    }
  }
  </code></pre>