title: Passing a hook as a prop
body: <p>Is it acceptable / common to pass in a React Hook as a prop to another Component?
  <br/>Or are they meant to only belong within the component it is declared in?
  <br/>The following is just an example to illustrate what I mean by passing it as
  <br/>a prop from the Parent Component to the Child parent.</p>
  <pre><code>import React, { useState } from 'react';
  
  export const Parent = () =&gt; {
  
    const [count, setCount] = useState(0);
  
    return &lt;div&gt;
      Current count is {count}
      &lt;Child setCount={setCount} /&gt; // passing a hook set call as a prop to child
    &lt;/div&gt;
  }
  
  const Child = ({setCount}) =&gt; {
    setCount(10) // using the hook set call
    return (
      &lt;div&gt;
        Some Child Text
      &lt;/div&gt;
    );
  };
  
  export default Child;
  </code></pre>