import { Text, View } from 'react-native'; export interface Props { filmInfo: { title: string; releaseYear: number; genre: string }; } export const Movie = ({ filmInfo }: Props) => ( title: {filmInfo.title} release year: {filmInfo.releaseYear} genre: {filmInfo.genre} );