parent
2868424314
commit
fc7629efd0
@ -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…
Reference in new issue