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 EuiLoadingSpinner = setComponentTemplate(precompileTemplate(`
    <span
      class={{classNames
        componentName="EuiLoadingSpinner"
        size=(argOrDefault @size "m")
      }}
      ...attributes
    ></span>
  `, {
  strictMode: true,
  scope: () => ({
    classNames,
    argOrDefault
  })
}), templateOnly("eui-loading-spinner", "EuiLoadingSpinner"));

export { EuiLoadingSpinner as default };
//# sourceMappingURL=eui-loading-spinner.js.map
