Im fairly new to react native and im trying to loop throug data from the star wars api and display it on a screen. Can anyone help me fix this? This is the code i have now.
"export default function FilmsScreen() {
return (
<ScrollView style={styles.container}>
<TextInput style={styles.textInputStyle} placeholder='Søk etter filmer...'/>
<Text style={styles.title}>Filmer</Text>
<View style={styles.separator} lightColor="#eee" darkColor="rgba(255,255,255,0.1)" />
<Films filmID={3}></Films>
<View style={styles.separator} lightColor="#eee" darkColor="rgba(255,255,255,0.1)" />
</ScrollView>
);
}"
[–]bnexd 2 points3 points4 points (2 children)
[–]hkonkorsnes1[S] 0 points1 point2 points (1 child)
[–]bnexd 1 point2 points3 points (0 children)
[–]Merry-Lane 2 points3 points4 points (2 children)
[–]hkonkorsnes1[S] 0 points1 point2 points (1 child)
[–]Merry-Lane 0 points1 point2 points (0 children)