diff --git a/src/components/TabSelector/TabSelectorItem.tsx b/src/components/TabSelector/TabSelectorItem.tsx
index 635b9deddcfe..4117046d86ef 100644
--- a/src/components/TabSelector/TabSelectorItem.tsx
+++ b/src/components/TabSelector/TabSelectorItem.tsx
@@ -1,5 +1,5 @@
-import React from 'react';
-import {Animated, StyleSheet} from 'react-native';
+import React, {useState} from 'react';
+import {Animated} from 'react-native';
import PressableWithFeedback from '@components/Pressable/PressableWithFeedback';
import useThemeStyles from '@hooks/useThemeStyles';
import CONST from '@src/CONST';
@@ -7,6 +7,8 @@ import type IconAsset from '@src/types/utils/IconAsset';
import TabIcon from './TabIcon';
import TabLabel from './TabLabel';
+const AnimatedPressableWithFeedback = Animated.createAnimatedComponent(PressableWithFeedback);
+
type TabSelectorItemProps = {
/** Function to call when onPress */
onPress?: () => void;
@@ -32,29 +34,29 @@ type TabSelectorItemProps = {
function TabSelectorItem({icon, title = '', onPress = () => {}, backgroundColor = '', activeOpacity = 0, inactiveOpacity = 1, isActive = false}: TabSelectorItemProps) {
const styles = useThemeStyles();
+ const [isHovered, setIsHovered] = useState(false);
+
return (
- setIsHovered(true)}
+ onHoverOut={() => setIsHovered(false)}
role={CONST.ROLE.BUTTON}
>
- {({hovered}) => (
-
-
-
-
- )}
-
+
+
+
);
}