This is main Component

username is:

I am Component1 inside main
I am Component2 inside Component1
I am Component3 inside Component2

I am Component4

I want to show this username is main component