import * as React from 'react';
import Info16 from '../../icon/fill/Info16';
import Tooltip, { TooltipPosition } from '../tooltip';

var InfoIconWithTooltip = function InfoIconWithTooltip(_ref) {
  var _ref$className = _ref.className,
      className = _ref$className === void 0 ? '' : _ref$className,
      iconProps = _ref.iconProps,
      tooltipText = _ref.tooltipText;
  return /*#__PURE__*/React.createElement("span", {
    key: "infoIcon",
    className: "".concat(className, " tooltip-icon-container")
  }, /*#__PURE__*/React.createElement(Tooltip, {
    position: TooltipPosition.TOP_CENTER,
    text: tooltipText
  }, /*#__PURE__*/React.createElement("span", {
    className: "info-icon-container"
  }, /*#__PURE__*/React.createElement(Info16, iconProps))));
};

export default InfoIconWithTooltip;
//# sourceMappingURL=InfoIconWithTooltip.js.map