forked from cemaden-educacao/WPD-MobileApp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
628 B
24 lines
628 B
import React, { useContext } from "react";
|
|
import { EventLocationContext } from "../context/EventLocationContext";
|
|
|
|
import { Text } from "react-native";
|
|
import { dimensions } from "../config/dimensions";
|
|
import colors from "../config/colors";
|
|
|
|
const EventLocationInput = () => {
|
|
const context = useContext(EventLocationContext);
|
|
|
|
return (
|
|
<Text style={{
|
|
fontSize: dimensions.text.default,
|
|
textAlign: "justify",
|
|
flex: 1,
|
|
backgroundColor: colors.secondary,
|
|
}}>
|
|
{context.eventLocation}
|
|
</Text>
|
|
);
|
|
|
|
}
|
|
|
|
export default EventLocationInput;
|