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 classNames from '../helpers/class-names.js';

const EuiTextAlignComponent = setComponentTemplate(precompileTemplate(`
  <div
    class={{classNames
      componentName="EuiTextAlign"
      textAlign=(argOrDefault @textAlign "left")
    }}
    ...attributes
  >
    {{yield}}
  </div>
`, {
  strictMode: true,
  scope: () => ({
    classNames,
    argOrDefault
  })
}), templateOnly("eui-text-align", "EuiTextAlignComponent"));

export { EuiTextAlignComponent as default };
//# sourceMappingURL=eui-text-align.js.map
