-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change from name to human name where applicable
- Loading branch information
1 parent
0450c61
commit 27d81cb
Showing
9 changed files
with
80 additions
and
56 deletions.
There are no files selected for viewing
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
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
This file was deleted.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,23 @@ | ||
import React from "react"; | ||
|
||
function FoodInfo() { | ||
return <div></div>; | ||
function FoodInfo({ foodName }) { | ||
return ( | ||
<div> | ||
<h2>{foodName}</h2> | ||
<div> | ||
<h4 className="italic">H2O</h4> | ||
<h4 className="italic">variety: ground water</h4> | ||
<h4 className="italic">origin: Brussels</h4> | ||
</div> | ||
<h4> | ||
Lorem ipsum dolor, sit amet consectetur adipisicing elit. | ||
<br /> | ||
Consequuntur laboriosam necessitatibus dolor nemo nihil similique | ||
<br /> | ||
laudantium quisquam vitae esse animi! | ||
</h4> | ||
</div> | ||
); | ||
} | ||
|
||
export default FoodInfo; |
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
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
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
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