Skip to content

Commit

Permalink
Update SeenBirds.js
Browse files Browse the repository at this point in the history
  • Loading branch information
tzits authored Jan 6, 2023
1 parent c3377f2 commit 4269999
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions components/SeenBirds.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import { StyleSheet, View } from 'react-native'
import { StyleSheet, FlatList, ScrollView } from 'react-native'
import BirdCard from './BirdCard'

const SeenBirds = () => {
return (
<View>
const SeenBirds = ({data}) => {

</View>
return (
<FlatList style={styles.container}
data={data}
renderItem={({item}) => <BirdCard sighting={item} />}
keyExtractor={(data) => data.time}
/>
)
}

export default SeenBirds

const styles = StyleSheet.create({

})

0 comments on commit 4269999

Please sign in to comment.