This module exports the Meals React component which renders a list of meals and a navigation component.
- Source:
Members
(inner, constant) menu :array
An array of objects, where each object represents a meal item
Type:
- array
Properties:
Name | Type | Description |
---|---|---|
name |
string | The name of the meal item |
src |
string | The image source of the meal item |
key |
number | The key of the meal item |
meal |
boolean | A boolean indicating whether or not the item is a meal |
ids |
array | An array of item ids which correspond to the items that make up the meal |
- Source:
(inner, constant) menuList :array
An array of AddMenuItem components, where each component represents a meal item
Type:
- array
- Source:
Methods
(inner) Meals() → {JSX.Element}
A React functional component that renders a list of meal items and a navigation component.
- Source:
Returns:
- Type
- JSX.Element