import React from "react";
import MaterialTooltip, { TooltipProps } from "@material-ui/core/Tooltip";

interface Props extends TooltipProps {}

export default function Tooltip({ children, classes = {}, ...props }: Props) {
  return (
    <MaterialTooltip
      classes={{ tooltip: "auik-text-base", ...classes }}
      {...props}
    >
      {children}
    </MaterialTooltip>
  );
}
