Function initHeader

  • Initialize header component, the header object returned depends on whether the user is authenticated.

    Parameters

    • store: Store

      the data store

    • userMenuList: MenuItems[]

      a list of menu items when the user is logged in

    • Optional options: HeaderOptions

      allow the header to be customized with a personalized logo, help icon and a help menu list of links or buttons.

    Returns Promise<void>

    a header for an authenticated user with menu items given or a login screen

Generated using TypeDoc