import { Children, type ReactElement, type Ref } from 'react'; import { useSharedValue } from 'react-native-reanimated'; import { HoveredContext } from './hoverable-context'; export type HoverableProps = { children: ReactElement; onHoverIn?: () => void; onHoverOut?: () => void; childRef?: Ref }; // On native, hovering is not supported — provide a no-op context value. export function Hoverable({ children }: HoverableProps) { return {Children.only(children)}; } // biome-ignore lint/style/useComponentExportOnlyModules: MotiHover is a component alias for Hoverable export { Hoverable as MotiHover };