|
@@ -1,29 +1,14 @@
|
1
|
1
|
import { StatusBar } from 'expo-status-bar';
|
2
|
2
|
import React from 'react';
|
3
|
3
|
import { StyleSheet, Text, View, TextInput } from 'react-native';
|
4
|
|
-import { Button } from 'react-native-web';
|
|
4
|
+import TitleBar from './components/title_bar';
|
5
|
5
|
|
6
|
6
|
export default function App() {
|
7
|
7
|
return (
|
8
|
8
|
<View style={styles.container, {
|
9
|
9
|
flexDirection: "column"
|
10
|
10
|
}}>
|
11
|
|
- <View style={styles.controlBar}>
|
12
|
|
- <View style={{
|
13
|
|
- flexDirection: 'row'
|
14
|
|
- }}>
|
15
|
|
- <Text>Objectif</Text>
|
16
|
|
- <TextInput/>
|
17
|
|
- </View>
|
18
|
|
- <View style={{
|
19
|
|
- alignItems: 'flex-end',
|
20
|
|
- flexDirection: 'row'
|
21
|
|
- }}>
|
22
|
|
- <Button title={"Jour"}></Button>
|
23
|
|
- <Button title={"Mois"}></Button>
|
24
|
|
- <Button title={"YTD"}></Button>
|
25
|
|
- </View>
|
26
|
|
- </View>
|
|
11
|
+ <TitleBar/>
|
27
|
12
|
<Text>Open up App.js to start working on your app!</Text>
|
28
|
13
|
<StatusBar style="auto" />
|
29
|
14
|
</View>
|