import { Tooltip, TooltipProps } from "antd";
import React, { FC } from "react";
import "./Tooltip.scss";

export interface StarshipTooltipProps {}

const StarshipTooltip: FC<StarshipTooltipProps & TooltipProps> = (props) => {
  const { className, overlayClassName,...TooltipProp } = props;

  return (
    <Tooltip {...TooltipProp} className={`starship-tooltip-text ${className}`} overlayClassName={ `starship-toottip-overlay ${overlayClassName}`}/>
  );
};

export default StarshipTooltip;
