title: Looking to pass all props using react hooks
body: <p>Is there a simple way to pass all props of a parent component to a child component when using hooks?</p>
  <p>It seems to get repetitive sending each state to each component.</p>
  <p>I'm wondering if spread operator works and if so what the proper syntax is?</p>
  <p><em>I apologize for not providing an example, had to leave. The example is something to what I'm doing.</em></p>
  <pre><code>const Parent = () =&gt; {
      const [count, setcount] = useState(0)
      const [example, setExample] = useState('')
  
      return (
          &lt;Child props={...How to pass all props in the state} 
      )
  }
  </code></pre>