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 {
|
||||
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%",
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue