You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<Text>Pull down to see RefreshControl indicator</Text>
99
+
</ScrollView>
100
+
</SafeAreaView>
101
+
</SafeAreaProvider>
102
+
);
103
+
};
104
+
105
+
const styles = StyleSheet.create({
106
+
container: {
107
+
flex: 1,
108
+
},
109
+
scrollView: {
110
+
flex: 1,
111
+
backgroundColor: 'pink',
112
+
alignItems: 'center',
113
+
justifyContent: 'center',
114
+
},
115
+
});
116
+
117
+
export default App;
118
+
```
119
+
55
120
> Note: `refreshing` is a controlled prop, this is why it needs to be set to `true` in the `onRefresh` function otherwise the refresh indicator will stop immediately.
0 commit comments