import templateOnly from '@ember/component/template-only';
import { setComponentTemplate } from '@ember/component';
import { precompileTemplate } from '@ember/template-compilation';
import argOrDefault from '../helpers/arg-or-default.js';
import EuiIcon from './eui-icon.js';

const EuiHeaderLogo = setComponentTemplate(precompileTemplate(`
  <a class="euiHeaderLogo" href={{@href}} target={{@target}} ...attributes>
    <EuiIcon
      aria-label={{@iconTitle}}
      @iconClasses="euiHeaderLogo__icon"
      @size="l"
      @type={{argOrDefault @iconType "logoElastic"}}
    />
    {{#if (has-block)}}
      <span class="euiHeaderLogo__text">
        {{yield}}
      </span>
    {{/if}}
  </a>
`, {
  strictMode: true,
  scope: () => ({
    EuiIcon,
    argOrDefault
  })
}), templateOnly("eui-header-logo", "EuiHeaderLogo"));

export { EuiHeaderLogo as default };
//# sourceMappingURL=eui-header-logo.js.map
