import { Text } from '@/aesthetics/Text'; import { IngredientChips } from '@/see-log/components/IngredientChips'; import { font, radius, shadows, spacing, useColors } from '@/aesthetics/styles'; import type { FoodRecommendation } from '@/types/foodlog'; import { Utensils } from 'lucide-react-native'; import { StyleSheet, View } from 'react-native'; type RecommendedFoodItemsProps = { items: FoodRecommendation[]; }; export function RecommendedFoodItems({ items }: RecommendedFoodItemsProps) { const c = useColors(); return ( {items.map((item, i) => ( {item.recommendedFoodName} {item.ingredients.length > 0 && } ))} ); } const styles = StyleSheet.create({ container: { gap: spacing.sm, }, card: { flexDirection: 'row', alignItems: 'flex-start', padding: spacing.md, borderRadius: radius.md, borderWidth: 1, gap: spacing.md, }, icon: { width: 36, height: 36, borderRadius: radius.sm, alignItems: 'center', justifyContent: 'center', }, content: { flex: 1, gap: spacing.sm, }, name: { fontSize: font.md, fontWeight: '500', }, });