title: Call a function from another component using composition API
body: <p>Below is a code for a header and a body (different components). How do you call the continue function of the component 2 and pass a parameter when you are inside component 1, using composition API way...</p>
  <p>Component 2:</p>
  <pre class="lang-js prettyprint-override"><code>export default {
      setup() {
          const continue = (parameter1) =&gt; {
              // do stuff here
          }
          
          return {
              continue
          }
      }
  }
  </code></pre>
  <p><a href="https://i.stack.imgur.com/0xmss.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0xmss.png" alt="enter image description here" /></a></p>