import { ITooltipHostStyles, TooltipHost } from "@fluentui/react"; import { useId } from "@fluentui/react-hooks"; import * as React from "react"; import InfoBubble from "../../../images/info-bubble.svg"; const calloutProps = { gapSpace: 0 }; const hostStyles: Partial = { root: { display: "inline-block" } }; export interface TooltipProps { children: string; } export const Tooltip: React.FunctionComponent = ({ children }: TooltipProps) => { const tooltipId = useId("tooltip"); return children ? ( More information ) : ( <> ); };