import React from "react";
import CustomTooltip from "./customTooltip";
const getContent = (content, { isBasic }) => {
    const contentNode = typeof content === "function" ? content() : content;
    if (typeof content === "string" || isBasic) {
        return React.createElement(CustomTooltip, { isBasic: isBasic }, contentNode);
    }
    return contentNode;
};
export default getContent;
//# sourceMappingURL=getContent.js.map