few changes

This commit is contained in:
2025-07-04 17:19:02 +05:00
parent c75dc93474
commit fbf201bcc1
9 changed files with 811 additions and 4 deletions

View File

@@ -1,4 +1,5 @@
import React from 'react';
import { useNavigation } from '@react-navigation/native';
import {
View,
Text,
@@ -12,6 +13,8 @@ import { Ionicons } from '@expo/vector-icons';
import { COLORS } from '../../constants/colors';
const MenuScreen = () => {
const navigation = useNavigation();
const menuSections = [
{
title: 'Karz',
@@ -41,8 +44,13 @@ const MenuScreen = () => {
];
const handleMenuItemPress = (item) => {
console.log('Menu item pressed:', item.title);
// Handle navigation or action here
if (item.id === 2) {
navigation.navigate('LoanRemainingOrders');
} else if (item.id === 3) {
navigation.navigate('LoanPaidOffLetterOrders');
} else {
console.log('Menu item pressed:', item.title);
}
};
return (