{{yield}}
{{#each submenus as |sub|}} {{/each}} {{#if hasHeader}} {{yield (hash addSubmenu=(action 'addSubmenu') removeSubmenu=(action 'removeSubmenu') )}} {{#yield-slot name="header"}}{{else}}{{/yield-slot}} {{/if}} {{yield (hash addSubmenu=(action 'addSubmenu') removeSubmenu=(action 'removeSubmenu') )}}