From 0593b939c6cb733b6131d7264d3296a031c0a988 Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Wed, 13 Mar 2024 15:00:34 +0000
Subject: mobile: Add loading spinners when the data is being fetched

---
 packages/mobile/components/ui/FullPageSpinner.tsx | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 packages/mobile/components/ui/FullPageSpinner.tsx

(limited to 'packages/mobile/components/ui/FullPageSpinner.tsx')

diff --git a/packages/mobile/components/ui/FullPageSpinner.tsx b/packages/mobile/components/ui/FullPageSpinner.tsx
new file mode 100644
index 00000000..01187f11
--- /dev/null
+++ b/packages/mobile/components/ui/FullPageSpinner.tsx
@@ -0,0 +1,9 @@
+import { View, ActivityIndicator } from "react-native";
+
+export default function FullPageSpinner() {
+  return (
+    <View className="h-full w-full items-center justify-center">
+      <ActivityIndicator />
+    </View>
+  );
+}
-- 
cgit v1.3-1-g0d28

