Add Dialog Choose Payment Method to implement payment method feature. Then, add Billing Code and Other Method screens, followed by their several UI components

This commit is contained in:
Mochammad Adhi Buchori
2025-04-24 07:42:55 +07:00
parent 138197d3e4
commit 0287887302
14 changed files with 633 additions and 140 deletions

View File

@ -20,6 +20,8 @@ import ApplicationDetailScreen from '../screens/applicationDetail';
import PassportRequirementsScreen from '../screens/passportRequirements';
import ApplicationGuideScreen from '../screens/applicationGuide';
import SeeRequirementsScreen from '../screens/seeRequirements';
import OtherMethodScreen from '../screens/otherMethod';
import BillingCodeScreen from '../screens/billingCode';
const Stack = createNativeStackNavigator<RootStackParamList>();
@ -52,7 +54,7 @@ function RootStack() {
options={{headerShown: false}}
/>
<Stack.Screen name="Home" options={{headerShown: false}}>
{() => <HomeScreen showDialog={() => console.log('Show dialog!')} />}
{() => <HomeScreen showDialog={() => console.log('Show dialog!')} visible />}
</Stack.Screen>
<Stack.Screen
name="History"
@ -119,6 +121,16 @@ function RootStack() {
component={SeeRequirementsScreen}
options={{headerShown: false}}
/>
<Stack.Screen
name="BillingCode"
component={BillingCodeScreen}
options={{headerShown: false}}
/>
<Stack.Screen
name="OtherMethod"
component={OtherMethodScreen}
options={{headerShown: false}}
/>
</Stack.Navigator>
);
}