import React from "react";
import { Flex, TextSmall } from "@netdata/netdata-ui";
const tooltipBackground = ["neutral", "black"];
const CustomTooltip = ({ children, isBasic }) => (React.createElement(Flex, Object.assign({ padding: [1.5, 2], margin: [2], background: tooltipBackground, round: 1 }, (!isBasic && { width: { max: "300px" } })),
    React.createElement(TextSmall, { color: "bright" }, children)));
export default CustomTooltip;
//# sourceMappingURL=customTooltip.js.map