Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.

Commit 5a6f228

Browse files
committed
add: component Loading
1 parent 99ce956 commit 5a6f228

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

src/components/Loading.tsx

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import React from 'react';
2+
import { ActivityIndicator, StyleSheet, View } from 'react-native';
3+
4+
const Loading = () => {
5+
return (
6+
<View style={styles.container}>
7+
<ActivityIndicator size="large" color="#007BFF" />
8+
</View>
9+
);
10+
};
11+
12+
const styles = StyleSheet.create({
13+
container: {
14+
flex: 1,
15+
justifyContent: 'center',
16+
alignItems: 'center',
17+
backgroundColor: '#FFFFFF',
18+
},
19+
});
20+
21+
export default Loading;

0 commit comments

Comments
 (0)