-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.js
31 lines (26 loc) · 818 Bytes
/
App.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import React from 'react';
import { StyleSheet, Text, View, SafeAreaView, Platform, StatusBar } from 'react-native';
import CurrentPrice from './src/components/currentPrice';
import HistoryGraphic from './src/components/historyGraphic';
import QuotationList from './src/components/quotationList';
import QuotationItems from './src/components/quotationList/quotationItems';
export default function App() {
return (
<SafeAreaView style={styles.container}>
<CurrentPrice/>
<QuotationItems/>
<StatusBar
backgroundColor="black"
barStyle="light-content"
/>
</SafeAreaView>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: 'black',
alignItems: 'center',
paddingTop: Platform.OS === "android" ? 40: 0
},
});