diff --git a/src/foodItems.tsx b/src/foodItems.tsx index 7833336..9ad1cf2 100644 --- a/src/foodItems.tsx +++ b/src/foodItems.tsx @@ -4,10 +4,12 @@ import { FoodExcludeTypes } from "./types"; export const FoodItemsContainer = (props: { children: JSX.Element | JSX.Element[] | null title: string, + extra?: string, }): JSX.Element => { return (

{props.title}

+ {props.extra &&

{props.extra}

}
{props.children}
diff --git a/src/mainPage.tsx b/src/mainPage.tsx index 5518e0c..c376b8f 100644 --- a/src/mainPage.tsx +++ b/src/mainPage.tsx @@ -120,7 +120,7 @@ export class MainPage extends Component
- +