diff --git a/components/Tooltip.tsx b/components/Tooltip.tsx index d251096..1ca98b6 100644 --- a/components/Tooltip.tsx +++ b/components/Tooltip.tsx @@ -1,14 +1,10 @@ import React from "react"; import ReactTooltip from "react-tooltip"; -const Tooltip: React.FC<{ id: string; text: string }> = ({ id, text }) => ( +const Tooltip: React.FC<{ id: string; text: string; children: React.ReactNode }> = ({ id, text, children }) => ( <> - - ? + + {children}