component topbar, debut villecompopo

master
Mathilde JEAN 2 years ago
parent 2868424314
commit fc7629efd0

@ -5,5 +5,6 @@
"minify": false,
"urlRandomness": null,
"https": false,
"scheme": null
"scheme": null,
"devClient": false
}

@ -0,0 +1,26 @@
import React from "react"
import { View, Text, StyleSheet } from "react-native";
export function TopBar(){
return (
<View style={TopBarStyle.bar}>
<Text style={TopBarStyle.title}>La Super Météo</Text>
</View>
);
}
const TopBarStyle = StyleSheet.create({
title : {
fontSize : 30,
fontWeigh : 'bold',
color : '#B6D0E2'
},
bar : {
width : '100%',
backgroundColor : '#E9967A',
alignItems : 'center',
flexDirection : 'row',
justifyContent : 'space-evenly',
marginBottom : '150%'
}
});

@ -0,0 +1,13 @@
import React from "react";
import { View, StyleSheet, Text } from "react-native";
type VilleProps = {
name: string,
latitude: string,
longitude: string
}
export function VilleCompopo(){
}
Loading…
Cancel
Save