themed-button, themed-mapview, selectChantier maj

This commit is contained in:
Rochas
2025-11-09 21:48:15 +01:00
parent a2f510db35
commit 7d38286bb7
10 changed files with 288 additions and 74 deletions

View File

@@ -76,6 +76,8 @@ export default function BonjourScreen() {
</ThemedText>
<ThemedTextInput
lvl={0}
border={5}
style={styles.input}
placeholder="Rechercher un groupe..."
value={search}

View File

@@ -1,4 +1,5 @@
// MapScreen.tsx
import { ThemedMapView } from '@/components/themed-mapview';
import React from 'react';
import { StyleSheet, View, Dimensions } from 'react-native';
import MapView, { Marker, PROVIDER_DEFAULT } from 'react-native-maps';
@@ -13,7 +14,7 @@ const MapScreen: React.FC = () => {
return (
<View style={styles.container}>
<MapView
<ThemedMapView
provider={PROVIDER_DEFAULT} // OpenStreetMap
style={styles.map}
region={region}
@@ -23,7 +24,7 @@ const MapScreen: React.FC = () => {
title="Paris"
description="Capitale de la France"
/>
</MapView>
</ThemedMapView>
</View>
);
};