import templateOnly from '@ember/component/template-only';
import { setComponentTemplate } from '@ember/component';
import { precompileTemplate } from '@ember/template-compilation';
import EuiIcon from '../eui-icon.js';
import EuiToolTip from '../eui-tool-tip.js';

const MarkdownTooltip = setComponentTemplate(precompileTemplate(`
    <span>
      <EuiToolTip @content={{@node.tooltipText}}>
        <span>
          <strong>{{@node.content}}</strong>
          <EuiIcon
            @type="questionInCircle"
            @iconClasses="euiMarkdownTooltip__icon"
          />
        </span>
      </EuiToolTip>
    </span>
  `, {
  strictMode: true,
  scope: () => ({
    EuiToolTip,
    EuiIcon
  })
}), templateOnly("markdown-tooltip", "MarkdownTooltip"));

export { MarkdownTooltip as default };
//# sourceMappingURL=markdown-tooltip.js.map
