123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- import { StatusBar } from 'expo-status-bar';
- import React from 'react';
- import { StyleSheet, Text, View, TextInput } from 'react-native';
- import { Button } from 'react-native-web';
-
- export default function App() {
- return (
- <View style={styles.container, {
- flexDirection: "column"
- }}>
- <View style={styles.controlBar}>
- <View style={{
- flexDirection: 'row'
- }}>
- <Text>Objectif</Text>
- <TextInput/>
- </View>
- <View style={{
- alignItems: 'flex-end',
- flexDirection: 'row'
- }}>
- <Button title={"Jour"}></Button>
- <Button title={"Mois"}></Button>
- <Button title={"YTD"}></Button>
- </View>
- </View>
- <Text>Open up App.js to start working on your app!</Text>
- <StatusBar style="auto" />
- </View>
- );
- }
-
- const styles = StyleSheet.create({
- container: {
- flex: 1,
- backgroundColor: '#fff',
- alignItems: 'center',
- justifyContent: 'center',
- },
- controlBar: {
- flex: 1,
- flexDirection: "row",
- justifyContent: 'space-between'
- }
- });
|