2026-07-02 14:34:19 +05:30

32 lines
1.1 KiB
TypeScript

import React from 'react';
import { View, Text, StyleSheet } from 'react-native';
import { useAppTheme } from '@theme';
import { PrimaryButton } from '@components';
import { useNavigation } from '@react-navigation/native';
import { NativeStackNavigationProp } from '@react-navigation/native-stack';
import { AuthStackParamList } from '@navigation/navigationTypes';
import { RouteNames } from '@utils/constants';
const SetLocationScreen: React.FC = () => {
const { colors } = useAppTheme();
const navigation = useNavigation<NativeStackNavigationProp<AuthStackParamList>>();
return (
<View style={[styles.container, { backgroundColor: colors.background }] }>
<Text style={styles.title}>Set Location</Text>
<PrimaryButton
title="Continue"
onPress={() => navigation.navigate(RouteNames.CompleteProfile)}
style={{ marginTop: 20, width: '90%' }}
/>
</View>
);
};
const styles = StyleSheet.create({
container: { flex: 1, justifyContent: 'center', alignItems: 'center' },
title: { fontSize: 24 }
});
export default SetLocationScreen;