...import firestore from '@react-native-firebase/firestore';import { useGetDocs } from 'react-native-firebase-tools';const postsRef = firestore().collection('posts').limit(6);export default function App() {const { data, loading, end, request } = useGetDocs(postsRef, {autoRequest: true,pagination: true});return (<ScrollView style={styles.container}>{!loading && data.map(post => (<View key={post.id}><Text>{post.username}</Text><Image src={{post.photoURL}}></View>))<Buttondisabled={end}title='Get more'onPress={request}/></ScrollView>);}
Animation preferences
Here you can personalize how your code will illustrate.
You can select the animation type such as: Spring or Tween.
0.5
Duration of each code block in seconds from 0.5s to 10s.
7
Delay of each code block level from 0.5 to 10.