diff --git a/components/Tooltip.tsx b/components/Tooltip.tsx new file mode 100644 index 0000000..5f70993 --- /dev/null +++ b/components/Tooltip.tsx @@ -0,0 +1,22 @@ +import React from "react"; + +interface TooltipProps { + message: string; + children: React.ReactNode; +} + +export default function Tooltip({ message, children }: TooltipProps) { + return ( +
+ {children} +
+
+
+
+ {message} +
+
+
+
+ ); +}