diff options
Diffstat (limited to 'modern/src/common')
-rw-r--r-- | modern/src/common/components/DelayedTooltip.js | 14 | ||||
-rw-r--r-- | modern/src/common/theme/components.js | 6 |
2 files changed, 6 insertions, 14 deletions
diff --git a/modern/src/common/components/DelayedTooltip.js b/modern/src/common/components/DelayedTooltip.js deleted file mode 100644 index f1821782..00000000 --- a/modern/src/common/components/DelayedTooltip.js +++ /dev/null @@ -1,14 +0,0 @@ -import React from 'react'; -import Tooltip from '@mui/material/Tooltip'; - -const DelayedTooltip = ({ - ...props -}) => ( - <Tooltip - {...props} - enterDelay={700} - enterNextDelay={700} - /> -); - -export default DelayedTooltip; diff --git a/modern/src/common/theme/components.js b/modern/src/common/theme/components.js index d0c7f9c6..572f876e 100644 --- a/modern/src/common/theme/components.js +++ b/modern/src/common/theme/components.js @@ -33,4 +33,10 @@ export default { }, }, }, + MuiTooltip: { + defaultProps: { + enterDelay: 500, + enterNextDelay: 500, + }, + }, }; |