Closed mdominiak2 closed 10 months ago
Is there any way to get exposed things from the component using useModal?
e.g. We have component CatalogPopup and this component expose one function exposedFunction.
CatalogPopup
exposedFunction
const modal = useModal({ component: CatalogPopup, }); modal.open(); ... modal.component.exposed.exposedFunction();
Is it possible?
@mdominiak2 Currently I don't think there is a way to get exposed props by using useModal. If possible you can give more context or background of your use case, I am willing to give you alternatives.
Is there any way to get exposed things from the component using useModal?
e.g. We have component
CatalogPopup
and this component expose one functionexposedFunction
.Is it possible?