-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Donation list tab in navigation bar that lets you view items in…
… donation cart with chnage quantity and remove item functionalities
- Loading branch information
Neha Rao
authored and
Neha Rao
committed
Oct 19, 2021
1 parent
ef7bff9
commit 1630c7e
Showing
8 changed files
with
469 additions
and
23,599 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import { createStackNavigator } from '@react-navigation/stack'; | ||
import * as React from 'react'; | ||
import DonationListScreen from '../../../screens/DonationList'; | ||
// import DonationScreen from '../../../screens/DonationScreen'; | ||
|
||
import { | ||
DonationScreenParamList, | ||
} from '../DonationList/types'; | ||
|
||
const DonationListScreenStack = createStackNavigator(); | ||
|
||
function DonationListScreenNavigator() { | ||
return ( | ||
<DonationListScreenStack.Navigator> | ||
<DonationListScreenStack.Screen | ||
name="DonationScreen" | ||
component={DonationListScreen} | ||
options={{ headerTitle: 'Donation List Screen' }} | ||
/> | ||
</DonationListScreenStack.Navigator> | ||
); | ||
} | ||
|
||
export default DonationListScreenNavigator; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export type DonationScreenParamList = { | ||
DonationScreen: undefined; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.