import { icons } from "@/constants"; import { router } from "expo-router"; import { Image, Text, TouchableOpacity, View } from "react-native"; import {GestureHandlerRootView} from "react-native-gesture-handler"; import tw from "twrnc"; import Map from "@/components/Map"; import { useRef } from "react"; import BottomSheet, { BottomSheetView } from "@gorhom/bottom-sheet"; const Ridelayout = ({title,children,snapPoints}:{snapPoints?:string[], title:string,children:React.ReactNode}) => { const bottomSheetRef = useRef(null) return( router.back()}> {title ||"Go Back"} {children} ) } export default Ridelayout;