Created
July 1, 2020 15:03
-
-
Save mattvagni/b73968640dd0ad138cac9a8d6ac5f0e1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import Recipe from "./recipe"; | |
export default function recipeTemplate(props) { | |
console.log(props) | |
return ( | |
<section> | |
<Recipe | |
title={props.pageContext.recipe.title} | |
ingredientArray={props.pageContext.recipe.ingredients} | |
instructionArray={props.pageContext.recipe.instructions} | |
note={props.pageContext.recipe.note} | |
/> | |
</section> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment