import React from "react"; import { View, FlatList, Pressable, Image, Dimensions, Text } from "react-native"; import {useNavigation} from '@react-navigation/native'; import tw from "tailwind-rn"; const { width, height } = Dimensions.get("window"); import Header from "../../Home/components/Header"; import posterImage from "../../Products/assets/poster.png"; function MostViewedVideo({}) { const navigation = useNavigation(); const Video = ({ video }) => { return ( navigation.navigate("Product")} > {video.name} {video.price} {"پایه" + " " + video.grade} ); }; return (
(