import { TooltipWrapper } from '../utils/TooltipWrapper';
import styles from './Tooltip.module.scss';

type Props = {
  text: string;
  className?: string;
};

function Tooltip({ text, className }: Props) {
  return (
    <TooltipWrapper text={text} className={className}>
      <span className={styles.tooltip} data-testid="tooltipIcon" />
    </TooltipWrapper>
  );
}

export { Tooltip, styles as TooltipStyles };
export type { Props as TooltipProps };
