I have this template within parent component:
<template>
<div>
<div
contenteditable
ref="editorContainer"
><editor-content :container-ref="$refs.editorContainer" /></div>
</div>
</template>
I have this props declaration within "editor-content" component:
props: {
//...
containerRef: {
type: Object,
}
},
but I get this warning:
[Vue warn]: Invalid prop: type check failed for prop "containerRef". Expected Object, got HTMLDivElement
What should be the type of the ref passing as a prop?