import Box from "../box/box.js";
import { bg, borderRadius, boxShadow } from "./consts.js";
import { jsx } from "react/jsx-runtime";

//#region src/tooltip/tooltipContent.tsx
const TooltipContent = ({ children, disabled, fontSize = "16px", maxWidth = "400px", minWidth, whiteSpace = "pre-wrap", wordBreak = "break-word" }) => /* @__PURE__ */ jsx(Box, {
	bg: disabled ? bg.disabled : bg.regular,
	borderRadius,
	boxShadow,
	className: "vui-tooltip-content",
	color: "white",
	fontSize,
	minW: minWidth,
	maxW: maxWidth,
	overflowY: "auto",
	p: 1,
	px: 2,
	whiteSpace,
	wordBreak,
	children
});
TooltipContent.displayName = "TooltipContent";

//#endregion
export { TooltipContent };
globalThis.__vuiVersion__ = "4.0.0"
//# sourceMappingURL=tooltipContent.js.map