From d3b1028fe450583194da437996dd8657288a306e Mon Sep 17 00:00:00 2001 From: Pierre Hubert Date: Sat, 26 Aug 2023 08:07:32 +0200 Subject: [PATCH] Add tooltips to export buttons --- .../complex_family_tree/ComplexFamilyTree.tsx | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/geneit_app/src/widgets/complex_family_tree/ComplexFamilyTree.tsx b/geneit_app/src/widgets/complex_family_tree/ComplexFamilyTree.tsx index fad47ef..c948711 100644 --- a/geneit_app/src/widgets/complex_family_tree/ComplexFamilyTree.tsx +++ b/geneit_app/src/widgets/complex_family_tree/ComplexFamilyTree.tsx @@ -1,7 +1,7 @@ import { mdiXml } from "@mdi/js"; import Icon from "@mdi/react"; import PictureAsPdfIcon from "@mui/icons-material/PictureAsPdf"; -import { IconButton } from "@mui/material"; +import { IconButton, Tooltip } from "@mui/material"; import f3, { f3Data } from "family-chart"; import { jsPDF } from "jspdf"; import React from "react"; @@ -176,12 +176,16 @@ export function ComplexFamilyTree(p: { return (
- - - - - - + + + + + + + + + +