add elements ui lib
This commit is contained in:
parent
ddee3d8254
commit
6209a93b10
6
App.js
6
App.js
|
@ -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%",
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue