diff options
author | dan <dan.abramov@gmail.com> | 2024-01-24 23:01:22 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-24 23:01:22 +0000 |
commit | c2733bc2c00d0a4cc79e3dc9436ae5950cc2ff61 (patch) | |
tree | 060618ee750472efed921f076d68a5efffe21a77 /src/view/com/util/LoadingScreen.tsx | |
parent | 9ff74ff30ac2d9e9bf461267a408442e616882c2 (diff) | |
download | voidsky-c2733bc2c00d0a4cc79e3dc9436ae5950cc2ff61.tar.zst |
Use consistent spinners for loading screens (#2611)
* Use consistent spinners for loading screens * Consolidate into LoadingScreen
Diffstat (limited to 'src/view/com/util/LoadingScreen.tsx')
-rw-r--r-- | src/view/com/util/LoadingScreen.tsx | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/view/com/util/LoadingScreen.tsx b/src/view/com/util/LoadingScreen.tsx new file mode 100644 index 000000000..93c3bee42 --- /dev/null +++ b/src/view/com/util/LoadingScreen.tsx @@ -0,0 +1,14 @@ +import React from 'react' +import {ActivityIndicator, View} from 'react-native' +import {s} from 'lib/styles' +import {CenteredView} from './Views' + +export function LoadingScreen() { + return ( + <CenteredView> + <View style={s.p20}> + <ActivityIndicator size="large" /> + </View> + </CenteredView> + ) +} |