pogdark-app/components/Location.tsx

27 lines
784 B
TypeScript
Raw Normal View History

import React from "react";
2025-04-25 04:44:06 +00:00
import {Dialog, TextInput, useTheme} from "react-native-paper";
import {View} from "react-native";
import axios from "axios";
const Location = () => {
2025-04-25 04:44:06 +00:00
const theme = useTheme();
return (
2025-04-25 04:44:06 +00:00
<Dialog.Content style={{ maxHeight: 300 }}>
<View style={{ padding: 16 }}>
<TextInput
label="Enter Zip Code"
mode="outlined"
style={{ marginBottom: 15, fontFamily: "SpaceReg" }}
placeholderTextColor={theme.colors.primary}
textColor={theme.colors.primary}
theme={{ colors: { text: theme.colors.primary }}}
/>
</View>
</Dialog.Content>
)
}
export default Location;