• Creates a DOM element representing a banner for the user to know which account they're using and also to allow switching to another account.

    Parameters

    • onOpenAuthenticationWindow: (() => void)
        • (): void
        • Returns void

    • onDismissBanner: (() => void)
        • (): void
        • Returns void

    • username: null | string

    Returns HTMLDivElement