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