title: How to invoke one component action from other component Using React Hooks?
body: <p>This is my accord component action:</p>
  <p><code>accord.js</code></p>
  <pre><code>const toggle = useCallback(() =&gt; {
    if (!disabled) {
      setExpand((expand) =&gt; !expand);
    }
  }, [disabled, setExpand]);
  
  &lt;div className={`Accord`} onClick={toggle} &gt;
  </code></pre>
  <p>How to invoke accord action from other components?</p>