title: Passing/Accessing props in stateless child component
body: <p>I know you can pass all a react components props to it's child component like this:</p>
  
  <pre><code>const ParentComponent = () =&gt; (
     &lt;div&gt;
       &lt;h1&gt;Parent Component&lt;/h1&gt;
       &lt;ChildComponent {...this.props} /&gt;
     &lt;/div&gt;
  )
  </code></pre>
  
  <p>But how do you then retrieve those props if the child component is stateless? I know if it is a class component you can just access them as <code>this.prop.whatever</code>, but what do you pass as the argument into the stateless component?</p>
  
  <pre><code>const ChildComponent = ({ *what goes here?* }) =&gt; (
     &lt;div&gt;
        &lt;h1&gt;Child Component&lt;/h1&gt;
     &lt;/div&gt;
  )
  </code></pre>