Skip to content
Snippets Groups Projects

Resolve "Adding basic post component"

All threads resolved!
1 file
+ 22
0
Compare changes
  • Side-by-side
  • Inline
+ 22
0
import HiddenPost from "@/components/post/HiddenPost";
import Post from "@/components/post/Post";
const Feed = () => {
let colors = ["#ffd0d2","#fffdd0","#d0fffd","#d0d2ff"];
return (
<div>
<Post
User={{FirstName: "John", LastName: "Smith", Username: "JohnSmith", Avatar: null, Colors: [colors[0], colors[1]]}}
Likes={[]}
Post="This is my amazing post"
TimeStamp='Just now'
/>
<HiddenPost UserColors={colors}/>
</div>
)
}
export default Feed;
\ No newline at end of file
Loading