hey this is not a graphcool question, but i was wo...
# random
p
hey this is not a graphcool question, but i was wondering if anyone knew the answer to this. If i have a component like
Copy code
const MyComponent = () => <div>hi</div>
Is it possible to call that component as a function inside another component. Like so
Copy code
const SecondComponent = () => {
  myFunction = () => {
    MyComponent()
  }

  return <div>hi</div>

}