-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ports - Angela #13
base: master
Are you sure you want to change the base?
Ports - Angela #13
Conversation
|
||
// Customize the code below | ||
const postingData = timelineData.events.map ((post, i) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great idea to just map in the App component!
|
||
const Timeline = (props) => { | ||
|
||
return( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very clean and easy to see the flow of the data from timelineData.json
} | ||
const TimelineEvent = (props) => { | ||
|
||
const time = <Timestamp time={ props.timeStamp} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea to make use of the Timestamp component and saving its return value in a variable
React Timeline
Congratulations! You're submitting your assignment!
Comprehension Questions