import templateOnly from '@ember/component/template-only';
import { setComponentTemplate } from '@ember/component';
import { precompileTemplate } from '@ember/template-compilation';
import { eq } from 'ember-truth-helpers';
import argOrDefault from '../helpers/arg-or-default.js';
import classNames from '../helpers/class-names.js';

const EuiTabs = setComponentTemplate(precompileTemplate(`
  {{#let
    (if (eq @display "condensed") false (argOrDefault @bottomBorder true))
    as |bottomBorder|
  }}
    <div
      role="tablist"
      class={{classNames
        (if (argOrDefault @expand false) "euiTabs--expand")
        (if bottomBorder "euiTabs--bottomBorder")
        @className
        componentName="EuiTabs"
        display=(argOrDefault @display "default")
        size=(argOrDefault @size "m")
      }}
      ...attributes
    >
      {{yield}}
    </div>
  {{/let}}
`, {
  strictMode: true,
  scope: () => ({
    eq,
    argOrDefault,
    classNames
  })
}), templateOnly("eui-tabs", "EuiTabs"));

export { EuiTabs as default };
//# sourceMappingURL=eui-tabs.js.map
