Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

LoadingIndicator.tsx

18 lines359 Bytes

1import React from 'react';
2import { ActivityIndicator, View, StyleSheet } from 'react-native';
3​
4export function LoadingIndicator() {
5 return (
6 <View style={styles.fill}>
7 <ActivityIndicator size="large" />
8 </View>
9 );
11​
12const styles = StyleSheet.create({
13 fill: {
14 flex: 1,
15 justifyContent: 'center',
16 alignItems: 'center',
17 },
18});