diff --git a/components/Tooltip.tsx b/components/Tooltip.tsx index 5be7482..5090c3d 100644 --- a/components/Tooltip.tsx +++ b/components/Tooltip.tsx @@ -3,9 +3,15 @@ import React from "react"; import { Tooltip as ReactTooltip } from "react-tooltip"; -const Tooltip: React.FC<{ id: string; text: string; children: React.ReactNode }> = ({ id, text, children }) => ( +interface TooltipProps { + id: string; + text: string; + children: React.ReactNode; +} + +const Tooltip: React.FC = ({ id, text, children }) => ( <> - + {children}