import { useNavigation } from '@react-navigation/native'; import React, { useMemo, useRef } from 'react'; import { Button, Text, View } from 'react-native'; import AppTour from 'rn-app-tour/lib/src/AppTour'; import AppTourModal from '../Components/AppTourModal'; const HomeScreen = () => { const navigation = useNavigation(); const highlightRef = useRef(null); const appTourModal = useMemo( () => AppTour.hide()} />, [], ); const showAppTour = () => { AppTour.show({ navigation, borderRadiusInPercent: 100, modalComponent: appTourModal, ref: highlightRef, yOffset: 0, onBackgroundPress: () => AppTour.hide(), }); }; return ( To be highlighted