add modification

pull/10/head
Rayhân HASSOU 1 year ago
parent f5c2806562
commit 57d46bbe36

@ -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{
source : string
firstImage : string
lastImage : string
title : 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('');

Loading…
Cancel
Save