|
|
@ -36,36 +36,36 @@ function onCloseModal(setShowModal, setCurrentMarker) { |
|
|
|
function topBar(props, setShowModal, setCurrentMarker) { |
|
|
|
return ( |
|
|
|
<View style={styles.topBar}> |
|
|
|
<View style={{ alignContent: "center", flex: 1, marginHorizontal: 10 }}> |
|
|
|
<View style={{ alignContent: "center", flex: 1, marginHorizontal: 10}}> |
|
|
|
<Text style={[styles.bodyTitle, { color: "white" }]}> |
|
|
|
{props ? props.title : "Aguarde..."} |
|
|
|
</Text> |
|
|
|
</View> |
|
|
|
|
|
|
|
<View style={{ flexDirection: "row", alignSelf: "flex-end" }}> |
|
|
|
<TouchableOpacity |
|
|
|
style={styles.topBarIcon} |
|
|
|
onPress={() => notImplemented()} |
|
|
|
> |
|
|
|
<MaterialCommunityIcons |
|
|
|
name="pencil" |
|
|
|
size={20} |
|
|
|
color={colors.white} |
|
|
|
alignItems="center" |
|
|
|
/> |
|
|
|
</TouchableOpacity> |
|
|
|
|
|
|
|
<TouchableOpacity |
|
|
|
style={styles.topBarIcon} |
|
|
|
onPress={() => notImplemented()} |
|
|
|
> |
|
|
|
<MaterialCommunityIcons |
|
|
|
name="trash-can" |
|
|
|
size={20} |
|
|
|
color={colors.white} |
|
|
|
alignItems="center" |
|
|
|
/> |
|
|
|
</TouchableOpacity> |
|
|
|
{/* <TouchableOpacity */} |
|
|
|
{/* style={styles.topBarIcon} */} |
|
|
|
{/* onPress={() => notImplemented()} */} |
|
|
|
{/* > */} |
|
|
|
{/* <MaterialCommunityIcons */} |
|
|
|
{/* name="pencil" */} |
|
|
|
{/* size={20} */} |
|
|
|
{/* color={colors.white} */} |
|
|
|
{/* alignItems="center" */} |
|
|
|
{/* /> */} |
|
|
|
{/* </TouchableOpacity> */} |
|
|
|
|
|
|
|
{/* <TouchableOpacity */} |
|
|
|
{/* style={styles.topBarIcon} */} |
|
|
|
{/* onPress={() => notImplemented()} */} |
|
|
|
{/* > */} |
|
|
|
{/* <MaterialCommunityIcons */} |
|
|
|
{/* name="trash-can" */} |
|
|
|
{/* size={20} */} |
|
|
|
{/* color={colors.white} */} |
|
|
|
{/* alignItems="center" */} |
|
|
|
{/* /> */} |
|
|
|
{/* </TouchableOpacity> */} |
|
|
|
|
|
|
|
<TouchableOpacity |
|
|
|
style={styles.topBarIcon} |
|
|
|