import {forwardRef, type PropsWithChildren} from 'react' import { Pressable, type PressableProps, type StyleProp, type ViewStyle, } from 'react-native' import {type View} from 'react-native' import {addStyle} from '#/lib/styles' import {useInteractionState} from '#/components/hooks/useInteractionState' interface PressableWithHover extends PressableProps { hoverStyle: StyleProp } export const PressableWithHover = forwardRef< View, PropsWithChildren >(function PressableWithHoverImpl( {children, style, hoverStyle, ...props}, ref, ) { const { state: hovered, onIn: onHoverIn, onOut: onHoverOut, } = useInteractionState() return ( {children} ) })