there is a component with a ref like this:
<template>
<custom-component
ref="func"
/>
</template>
<script setup>
const func = ref();
</script>
and inside the component there is a function like this:
const helloWorld = () => {
console.log('hello World');
}
how do i get accsess to helloWorld function from the parent component?