"use strict";
var import_Tooltip = require("../Tooltip.css");
const jsxRuntime = require("react/jsx-runtime");
const antd = require("antd");
const kit_Theme_UI = require("./Theme/UI.cjs");
require("./Theme/themeUtils.cjs");
require("./Theme/themes.cjs");
const base = "Tooltip_base_404d7";
const css = {
  base
};
const Tooltip = ({
  content,
  mouseEnterDelay,
  open,
  placement = "top",
  ...props
}) => {
  const {
    themeSettings: { className }
  } = kit_Theme_UI.useTheme();
  return /* @__PURE__ */ jsxRuntime.jsx(
    antd.Tooltip,
    {
      autoAdjustOverflow: true,
      className,
      mouseEnterDelay,
      open,
      overlayClassName: [className, css.base].join(" "),
      placement,
      title: content,
      ...props
    }
  );
};
module.exports = Tooltip;
