title: When calling super() in custom view, make sure to pass up the same props that your component's constructor was passed
body: <p>Here is my code which produces </p>
  
  <blockquote>
    <p>Warning: LoaderView(...): When calling super() in <code>LoaderView</code>, make
    sure to pass up the same props that your component's constructor was
    passed.</p>
  </blockquote>
  
  <pre><code>import * as React from "react";
  import {ActivityIndicator, Text, View} from 'react-native'
  
      export class LoaderView extends React.Component {
  
          constructor(props) {
              super(props)
          }
  
          props = {
              title: "",
              loading: false
          }
  
  
          render() {
              if (this.props.loading) {
                  return &lt;View {...this.props} style={{flex: 1, justifyContent: 'center'}}&gt;
                      &lt;ActivityIndicator
                          size={"large"}
                          animating={true}/&gt;
  
                      &lt;Text
                          style={{textAlign: 'center', fontSize: 20, fontWeight: '500'}}&gt;
                          {this.props.title}
                      &lt;/Text&gt;
                  &lt;/View&gt;
              } else {
                  return &lt;View {...this.props} style={{flex: 1, justifyContent: 'center'}}&gt;
                      &lt;Text
                          style={{textAlign: 'center', fontSize: 20, fontWeight: '500'}}&gt;
                          {this.props.title}
                      &lt;/Text&gt;
                  &lt;/View&gt;
              }
          }
  
      }
  </code></pre>
  
  <p>How to resolve this warning in above code?</p>