title: How does a parent component communicate with a child component that was passed in as a prop?
body: <pre><code>function Parent({children}) {
    // How does Parent pass in state to children
    // And how does Parent get state from children?
    return &lt;div&gt;{children}&lt;/div&gt;
  }
  </code></pre>
  <p>How does Parent pass in state to children?
  And how does Parent get state from children?</p>