From b4a5022eeb55f1ba54cf12a87aefddd3f6706ff4 Mon Sep 17 00:00:00 2001 From: Basma Diaz <140777879+bdiaz12@users.noreply.github.com> Date: Thu, 23 May 2024 15:20:19 -0500 Subject: [PATCH] Update README.md --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index c911287..90a8e81 100644 --- a/README.md +++ b/README.md @@ -5,15 +5,15 @@ A CRUD application for tracking recipes! This project makes use of 4 React components to: 1. Create new recipes - --RecipeCreate creates a form on screen for users to type in new recipes and submit them to the page to be displayed --stores its own state for form inputs --uses createRecipe() as props to handle when user submits the form +- RecipeCreate creates a form on screen for users to type in new recipes and submit them to the page to be displayed +- stores its own state for form inputs +- uses createRecipe() as props to handle when user submits the form 2. Format new recipes - --RecipeFormat handles the input of a single recipe, and returns it formatted as a element with nested elements for each key-value of the recipe. --Adds a delete button to the recipe, using handleDelete() when button is clicked. +- RecipeFormat handles the input of a single recipe, and returns it formatted as a element with nested elements for each key-value of the recipe. +- Adds a delete button to the recipe, using handleDelete() when button is clicked. 3. List all available recipes - --RecipeList renders full table display for all current recipes, using RecipeFormat to map the list of recipes to element. +- RecipeList renders full table display for all current recipes, using RecipeFormat to map the list of recipes to element. 4. App component - --stores state for recipes, so all children have access if needed through props --holds handleDelete() and createRecipe() methods to manage state of recipes, methods are passed to children as props --returns
element with a header, our RecipeList table display, and the RecipeCreate form +- stores state for recipes, so all children have access if needed through props +- holds handleDelete() and createRecipe() methods to manage state of recipes, methods are passed to children as props +- returns
element with a header, our RecipeList table display, and the RecipeCreate form