How to make CustomComponent clickable?

Hello,

How to make CustomComponent clickable? I have a custom component that contains many component in layout hierarchy.
I need to make This wrapper CustomComponent clickable… I need help or advice.

Thanks.

Perhaps add a LayoutClickListener to the root layout component?