aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common/components/DelayedTooltip.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/common/components/DelayedTooltip.js')
-rw-r--r--modern/src/common/components/DelayedTooltip.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/modern/src/common/components/DelayedTooltip.js b/modern/src/common/components/DelayedTooltip.js
new file mode 100644
index 00000000..c8872adb
--- /dev/null
+++ b/modern/src/common/components/DelayedTooltip.js
@@ -0,0 +1,16 @@
+import React from 'react';
+import Tooltip from '@mui/material/Tooltip';
+
+const DelayedTooltip = ({
+ ...props
+}) => {
+ (
+ <Tooltip
+ {...props}
+ enterDelay={700}
+ enterNextDelay={700}
+ />
+ );
+};
+
+export default DelayedTooltip;