import {FlatList, StyleSheet, SafeAreaView, Text, View, Image, TextInput} from 'react-native'; import * as React from "react"; import {BadgeFilm} from "./HomeScreen"; import { FontAwesomeIcon} from "@fortawesome/react-native-fontawesome"; import { faClock} from "@fortawesome/free-solid-svg-icons"; import LinearGradient from 'react-native-linear-gradient'; import {RootTabScreenProps} from "../types.js"; import {useSafeAreaInsets} from "react-native-safe-area-context"; export default function WatchLaterScreen({ navigation }: RootTabScreenProps<'WatchLater'>) { const insets = useSafeAreaInsets(); const styles = StyleSheet.create({ container: { flex: 1, paddingTop: insets.top + 22, backgroundColor: "#232323" }, linearGradient: { flex: 1, paddingLeft: 15, paddingRight: 15, borderRadius: 5 }, item: { padding: 10, fontSize: 18, height: 44, color: "white" }, filmCard: { width: 70, height: 100, borderRadius: 8, }, }); return ( Watch Later } /> ); } type ListWidgetProps = { name : String } export function ListWidget(props: ListWidgetProps) { const insets = useSafeAreaInsets(); const styles = StyleSheet.create({ filmCard: { width: 70, height: 100, borderRadius: 8, }, }); return ( {props.name} {props.name} ); }