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 {
Colors,
DebugInstructions,
Header,
LearnMoreLinks,
ReloadInstructions,
} from 'react-native/Libraries/NewAppScreen';
import { Header } from 'react-native-elements';
const Section = ({children, title}): Node => {
const isDarkMode = useColorScheme() === 'dark';
@ -56,9 +56,10 @@ const App: () => Node = () => {
return (
<>
<View
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>
</>
);
@ -66,7 +67,6 @@ const App: () => Node = () => {
const styles = StyleSheet.create({
viewRoot: {
fontFamily:'Ubuntu-Regular',
backgroundColor: "#1C254E",
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 ."
},
"dependencies": {
"@react-navigation/native": "^5.9.4",
"@react-navigation/stack": "^5.14.5",
"react": "17.0.1",
"react-native": "0.64.1"
"react-native": "0.64.1",
"react-native-elements": "^3.4.1"
},
"devDependencies": {
"@babel/core": "^7.12.9",