{{!
  Copyright (c) HashiCorp, Inc.
  SPDX-License-Identifier: MPL-2.0
}}

{{#let (icon-mapping @item.Type) as |flightIcon|}}
  <span class="consul-auth-method-type {{unless flightIcon @item.Type}}" data-test-type={{@item.Type}}>
    {{#if flightIcon}}
      <FlightIcon @name={{flightIcon}} class="mr-1.5 w-4 h-4" />
    {{/if}}
    {{t (concat "common.brand." @item.Type)}}
  </span>
{{/let}}
