import { StackNavigationProp } from "@react-navigation/stack"; import React from "react"; import { StyleSheet, TouchableOpacity, View } from "react-native"; import sampleVideoImage from "../../assets/sample_session.png"; import VideoCard from "../../component/video-card/video-card"; // Define the types for your navigation stack type VideoStackParamList = { Video: undefined; // Add other screens as needed }; type VideoFeedNavigationProp = StackNavigationProp< VideoStackParamList, "Video" >; // Define the props for VideoFeed component interface VideoFeedProps { navigation: VideoFeedNavigationProp; } const VideoFeed: React.FC = ({ navigation }) => { return ( navigation.push("Video")}> ); }; const styles = StyleSheet.create({ container: { flex: 1, backgroundColor: "#f0f0f0", // Light gray background alignItems: "center", }, }); export default VideoFeed;