"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.TooltipContent = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const box_1 = __importDefault(require("../box"));
const consts_1 = require("./consts");
const TooltipContent = ({ children, disabled, fontSize = '16px', maxWidth = '400px' }) => ((0, jsx_runtime_1.jsx)(box_1.default, { bg: disabled ? consts_1.bg.disabled : consts_1.bg.regular, borderRadius: consts_1.borderRaduis, boxShadow: consts_1.boxShadow, className: "vui-tooltip-content", color: "white", fontSize: fontSize, m: 1, maxW: maxWidth, overflowY: "auto", p: 1, pl: 2, pr: 2, children: children }));
exports.TooltipContent = TooltipContent;
exports.TooltipContent.displayName = 'TooltipContent';
//# sourceMappingURL=tooltipContent.js.map