I would like to reference the native community nav menu and profile menu from one of my lightening components. However when i tried, it did not call the menu.
Is there a syntax that i am missing to reference the community nav menu?
I tried the following which normally would work in a theme type lightening component of pge.
<aura:component description="MyCommunityNav" implements="forceCommunity:availableForAllPageTypes" access="global">
<aura:attribute name="profileMenu" type="Aura.Component[]" required="false"/>
<aura:attribute name="navBar" type="Aura.Component[]" required="false"/>
<div>
{!v.profileMenu}
</div>
<div>
{!v.navBar}
</div>
Is it even possible to reference the Community Nav Bar from Lightening Component that is Not a theme component?