Skip to content
Snippets Groups Projects
Commit 40b19d16 authored by Matt Kirby's avatar Matt Kirby
Browse files

NAVIGATION PROVIDER

parent 5d03b485
No related branches found
No related tags found
1 merge request!7Resolve "Adding basic post component"
...@@ -5,16 +5,18 @@ const Feed = () => { ...@@ -5,16 +5,18 @@ const Feed = () => {
let colors = ["#ffd0d2","#fffdd0","#d0fffd","#d0d2ff"]; let colors = ["#ffd0d2","#fffdd0","#d0fffd","#d0d2ff"];
let user = {FirstName: "John", LastName: "Smith", Username: "JohnSmith", Avatar: null, Colors: [colors[0], colors[1]]}
return ( return (
<div> <div>
<Post <Post
User={{FirstName: "John", LastName: "Smith", Username: "JohnSmith", Avatar: null, Colors: [colors[0], colors[1]]}} User={user}
Likes={[]} Likes={[]}
Post="This is my amazing post" Post="This is my amazing post"
TimeStamp='Just now' TimeStamp='Just now'
/> />
<HiddenPost UserColors={colors}/> <HiddenPost User={user} TimeStamp="Just now"/>
</div> </div>
) )
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment