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:
@ -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>
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user