-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Dina Rocio Villanueva Quevedo
authored and
Dina Rocio Villanueva Quevedo
committed
Apr 23, 2024
1 parent
ff919dd
commit eb756cb
Showing
12 changed files
with
216 additions
and
189 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { ScrollView } from 'react-native-gesture-handler'; | ||
import DietFilter from '../components/DietFilter'; | ||
import FavoriteRecipesList from '../components/FavoriteRecipes'; | ||
import { StyleSheet, View } from 'react-native'; | ||
import { Title } from '../components/Typography'; | ||
|
||
export const FavoriteHomeSection = (props) => { | ||
return ( | ||
<ScrollView style={{ paddingTop: 40 }}> | ||
<Title style={{ marginBottom: 10 }}>Favorite Recipes</Title> | ||
<View style={styles.dietFilterContainer}> | ||
<DietFilter /> | ||
</View> | ||
<View style={styles.recipeListContainer}> | ||
<FavoriteRecipesList numberOfRecipes={10} /> | ||
</View> | ||
</ScrollView> | ||
); | ||
}; | ||
|
||
const styles = StyleSheet.create({ | ||
favoriteRecipesContainer: {}, | ||
|
||
dietFilterContainer: { | ||
marginBottom: 32, | ||
}, | ||
}); |
Oops, something went wrong.