diff --git a/packages/react-components/src/Icon.tsx b/packages/react-components/src/Icon.tsx
index 26e09caa7c..7ab08dd63f 100644
--- a/packages/react-components/src/Icon.tsx
+++ b/packages/react-components/src/Icon.tsx
@@ -14,8 +14,6 @@ interface Props {
icon: IconName;
isSpinning?: boolean;
onClick?: () => void;
- onMouseOut?: () => void;
- onMouseOver?: () => void;
size?: '1x' | '2x';
tooltip?: string;
}
@@ -23,16 +21,17 @@ interface Props {
// one-time init of FA libraries
library.add(fas);
-function Icon ({ className = '', color = 'normal', icon, isSpinning, onClick, onMouseOut, onMouseOver, size = '1x', tooltip }: Props): React.ReactElement
{
+function Icon ({ className = '', color = 'normal', icon, isSpinning, onClick, size = '1x', tooltip }: Props): React.ReactElement {
+ const extraProps = tooltip
+ ? { 'data-for': tooltip, 'data-tip': true }
+ : {};
+
return (
diff --git a/packages/react-components/src/LinkExternal.tsx b/packages/react-components/src/LinkExternal.tsx
index 33e0a94a62..3807526cbd 100644
--- a/packages/react-components/src/LinkExternal.tsx
+++ b/packages/react-components/src/LinkExternal.tsx
@@ -42,7 +42,7 @@ function genLinks (systemChain: string, { data, hash, type, withShort }: Props):
return (