-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
67 additions
and
17 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import React from 'react'; | ||
import { ActivityIndicator, SafeAreaView, StyleSheet, Image } from 'react-native'; | ||
import { Text, HStack, Heading, Box } from 'native-base'; | ||
|
||
|
||
const Loading = () => { | ||
return ( | ||
<SafeAreaView style={styles.container}> | ||
<HStack space={2} alignItems="center"> | ||
<ActivityIndicator /> | ||
<Heading fontSize="md"> | ||
Reading the notice | ||
</Heading> | ||
</HStack> | ||
<Image source={require('../assets/images/rocket.png')} style={styles.imageStyle}/> | ||
<Box width="80%" bg="rgba(0,0,0,0.5)" p="4" shadow={2} style={{ borderRadius: 12 }}> | ||
<Text color="white" fontWeight="700">💡 Tip</Text> | ||
<Text color="white">You can save the results and check them on the search screen!</Text> | ||
</Box> | ||
</SafeAreaView> | ||
); | ||
}; | ||
|
||
export default Loading; | ||
|
||
const styles = StyleSheet.create({ | ||
container: { | ||
flex: 1, | ||
flexDirection: 'column', | ||
justifyContent: 'center', | ||
alignItems: 'center', | ||
}, | ||
imageStyle: { | ||
width: 320, | ||
height: 320, | ||
marginVertical: 40 | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters