import { View, Text, Image, Pressable, FlatList, Platform } from "react-native"; import { useNavigation } from "@react-navigation/native"; import tw from "tailwind-rn"; import { connect } from "react-redux"; //components import Progress from "../../../components/Progress"; import Header from "../components/Header"; //style import Colors from "../../../constants/Colors"; import fontSize from "../../../constants/fontSize"; const ios = Platform.OS === "ios"; function Videos({ videos, grades, mobile, theme }) { return ( {videos.length ? ( <>
(