I was going through the documentation and found that the provided codes of Mapchart with tooltip were not working. It seems to me like the error was due to the importing of react-tooltip and due to the recent update of react-tooltip, there is no default export.
Change the line no. 3 in the index.js from:
import ReactTooltip from "react-tooltip";
to:
import { Tooltip as ReactTooltip } from "react-tooltip";