"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Tooltip = void 0;
const react_1 = __importDefault(require("react"));
const Tooltip = ({ children, tooltip, flow = 'up', className, wrapText, }) => {
    const wrap = wrapText && ' wrap-text';
    return (react_1.default.createElement("span", { className: (wrap || '') + ' ' + (className || ''), "data-tooltip": tooltip, "data-flow": flow }, children));
};
exports.Tooltip = Tooltip;
