How do I show a component's details in the actor details?

I think in the end I have just shifted towards using an Editor Utility widget to display the component’s details. I appreciate your suggestions though