Hi,
I’m using ionic-vue and building a modal, I need to pass some props to the component, so I tried this:
this.$ionic.modalController
.create({
component: ModalSelectSearch,
componentProps: { title: "Teste" }
})
.then(m => m.present());
But I can’t get the props in my component, i tried like that:
export default {
name: "ModalSelectSearch",
props: ['title'],
But it didn’t work.
How can I get the props passed using componentProps in my component?
Thanks.