title: Error _this.props.childcall is not a function. (In '_this2.props.childcall()' is undefined)
body: <p>I have 2 component parent(LoginScreen) and a child(SignupSection). Child component have onClick button. When user click button I need to fire childcall() function from the parent component and this is not working for me. I get this Error</p>
  
  <pre><code>_this.props.childcall is not a function.
  (In '_this2.props.childcall()' is undefined)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/zQdb3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zQdb3.png" alt="enter image description here"></a></p>
  
  <p>I have the following code:</p>
  
  <p>Parent</p>
  
  <pre><code>import React, {Component} from 'react';
  import Wallpaper from './Wallpaper';
  import SignupSection from './SignupSection';
  
  export default class LoginScreen extends Component {
     constructor(props) {
       super(props)
     }
  
     childcall()
     {
       alert("hello , this call from child component");
     }
  
     render() {
       return (
        &lt;Wallpaper&gt;
        &lt;SignupSection 
          childcall ={this.childcall.bind(this)} 
        /&gt;
        &lt;/Wallpaper&gt;
        );
      }
     }
  </code></pre>
  
  <p>Child</p>
  
  <pre><code>import React, {Component} from 'react';
  import PropTypes from 'prop-types';
  import {StyleSheet, View, Text} from 'react-native';
  
  
  export default class SignupSection extends Component {
      constructor(props) {
         super(props)
      }
      componentWillMount()
      {
  
      }
  
      render() {
         return (
            &lt;View style={styles.container}&gt;
              &lt;Text style={styles.text}  onPress={()=&gt;this.props.childcall()}&gt;Create Account&lt;/Text&gt;
             &lt;Text style={styles.text}&gt;Forgot Password?&lt;/Text&gt;
            &lt;/View&gt;
         );
      }
   }
  </code></pre>