@ -3,11 +3,10 @@ import {StyleSheet,Pressable, Text, View} from 'react-native';
interface CustomButtonProps {
source : string
title : string
}
export default function CustomButton(props) {
export default function CustomButton(props: CustomButtonProps) {
return (
<Pressable style={styles.button}>
<View style={styles.view}>
@ -2,14 +2,12 @@ import React from 'react';
import { Appbar } from 'react-native-paper';
interface TopBarProps{
firstImage : string
lastImage : string
isVisible : boolean
export default function TopBar(props : any) {
export default function TopBar(props) {
const _goBack = () => console.log('Went back');
@ -8,7 +8,7 @@ import FoodElementText from '../components/FoodElementText';
import CustomButton from '../components/CustomButton';
export default function IngredientSelection(props) {
export default function IngredientSelection() {
const [searchQuery, setSearchQuery] = React.useState('');