add elements ui lib

This commit is contained in:
Priyatham Sai Chand 2021-06-03 22:04:29 +05:30
parent ddee3d8254
commit 6209a93b10
No known key found for this signature in database
GPG Key ID: 4CB4C85E75F5A80C
3 changed files with 1104 additions and 8 deletions

6
App.js
View File

@ -21,10 +21,10 @@ import {
import { import {
Colors, Colors,
DebugInstructions, DebugInstructions,
Header,
LearnMoreLinks, LearnMoreLinks,
ReloadInstructions, ReloadInstructions,
} from 'react-native/Libraries/NewAppScreen'; } from 'react-native/Libraries/NewAppScreen';
import { Header } from 'react-native-elements';
const Section = ({children, title}): Node => { const Section = ({children, title}): Node => {
const isDarkMode = useColorScheme() === 'dark'; const isDarkMode = useColorScheme() === 'dark';
@ -56,9 +56,10 @@ const App: () => Node = () => {
return ( return (
<> <>
<View <View
style={styles.viewRoot}> style={styles.viewRoot}>
<Text style={{color: "white", fontSize: 40,fontWeight: "bold", textAlign: "center",marginTop: "50%",fontFamily: 'Ubuntu-Regular'}}>locaft</Text> <Text style={{color: "white", fontSize: 60,fontWeight: "bold", textAlign: "center",marginTop: "50%",fontFamily: 'ubuntu'}}>locaft</Text>
</View> </View>
</> </>
); );
@ -66,7 +67,6 @@ const App: () => Node = () => {
const styles = StyleSheet.create({ const styles = StyleSheet.create({
viewRoot: { viewRoot: {
fontFamily:'Ubuntu-Regular',
backgroundColor: "#1C254E", backgroundColor: "#1C254E",
height: "100%", height: "100%",

1101
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -10,8 +10,11 @@
"lint": "eslint ." "lint": "eslint ."
}, },
"dependencies": { "dependencies": {
"@react-navigation/native": "^5.9.4",
"@react-navigation/stack": "^5.14.5",
"react": "17.0.1", "react": "17.0.1",
"react-native": "0.64.1" "react-native": "0.64.1",
"react-native-elements": "^3.4.1"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.12.9", "@babel/core": "^7.12.9",