import ToolTipIcon from "@Assets/Icons/tool-tip.svg"; import styled from "@emotion/styled"; import TooltipMUI, { tooltipClasses, TooltipProps } from "@mui/material/Tooltip"; import Image from "next/image"; import React from "react"; type IProps = { title?: string | JSX.Element; text?: string | JSX.Element; className?: string; isNotFlex?: boolean; }; type IState = { showContent: boolean; event: React.MouseEvent | null; }; const LightTooltip = styled(({ className, ...props }: TooltipProps) => )( ({ theme }) => ({ [`& .${tooltipClasses.tooltip}`]: { backgroundColor: "var(--turquoise-flash)", color: "white", //boxShadow: theme.shadows[1], fontSize: 11, }, [`& .${tooltipClasses.arrow}`]: { color: "var(--turquoise-flash)", }, }), ); export default class Tooltip extends React.Component { static defaultProps: Partial = { isNotFlex: false, }; public constructor(props: IProps) { super(props); } public override render(): JSX.Element { return ( toolTip icon ); } }