forked from hadeskers/kardia-mobile-wallet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTransactionStack.tsx
36 lines (33 loc) · 1.11 KB
/
TransactionStack.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import React from 'react';
import {
createStackNavigator,
CardStyleInterpolators,
} from '@react-navigation/stack';
// import CreateTxScreen from './screens/CreateTransaction';
import TransactionScreen from './screens/Transactions';
import TransactionDetail from './screens/TransactionDetail';
import SuccessTx from './screens/SuccessTx';
const TransactionStack = createStackNavigator();
const TransactionStackScreen = () => {
return (
<TransactionStack.Navigator
initialRouteName="TransactionList"
screenOptions={{
headerShown: false,
gestureEnabled: true,
cardStyleInterpolator: CardStyleInterpolators.forHorizontalIOS,
}}>
<TransactionStack.Screen
name="TransactionList"
component={TransactionScreen}
/>
{/* <TransactionStack.Screen name="CreateTx" component={CreateTxScreen} /> */}
<TransactionStack.Screen
name="TransactionDetail"
component={TransactionDetail}
/>
<TransactionStack.Screen name="SuccessTx" component={SuccessTx} />
</TransactionStack.Navigator>
);
};
export default TransactionStackScreen;