Elevate / routes / app / Map.js
Map.js
Raw
import React from "react";
import { StyleSheet, Text, SafeAreaView, View } from "react-native";
import { createBottomTabNavigator } from "@react-navigation/bottom-tabs";
import { Searchbar } from "react-native-paper";

const globalStyles = require("../../constants/globalstyles");
const Tab = createBottomTabNavigator();

export default function Map(props) {
  return (
    <>
      <SafeAreaView style={globalStyles.background}>
        <View style={globalStyles.container}>
          <Searchbar placeholder="Search" />
        </View>
      </SafeAreaView>
    </>
  );
}

const styles = StyleSheet.create({
  updatesPanel: {
    backgroundColor: "#fff",
    paddingTop: 12,
    paddingBottom: 12,
    paddingRight: 10,
    paddingLeft: 10,
    justifyContent: "center",
    alignItems: "center",
  },
});