Hi @Vara_PrasadM_S @DevinEPA
Yes, of course. In the layer you want to include the custom component you have to use the attribute popupTemplate adding the content attribute customContent by esri. Then, create a div in the document where your component will render and thanks to root.render, load your component and return the created div. For example:
popupTemplate: {
content: [
new CustomContent({
outFields: ['*'],
creator: (event) => {
const div = document.createElement('div');
if (event) {
const { title } = event.graphic.attributes;
const { description } = event.graphic.attributes;
const root = createRoot(div);
root.render(
<MapPopup
title={title}
description={description}
/>,
);
}
return div;
},
}),
],
Probably you want to customise more your modal, you can do it via css and some properties inside the view to hide some elements, like:
popup: {
dockOptions: {
buttonEnabled: false,
},
visibleElements: {
featureNavigation: false,
closeButton: false,
},
viewModel: {
includeDefaultActions: false,
},
},
I hope this can solve your doubts!