-
Notifications
You must be signed in to change notification settings - Fork 44
Ports - Faiza #16
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
base: master
Are you sure you want to change the base?
Ports - Faiza #16
Conversation
AngelaOh
left a comment
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 work on nesting components and passing data through props!
| }); | ||
| return ( | ||
| <section> | ||
| {mappedTimeline} |
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.
I like how your variable names are clear and easy to follow the logic with!
src/components/TimelineEvent.js
Outdated
| <li> | ||
| <p className="event-style">{props.person}</p> | ||
| <p className="event-style">{props.status}</p> | ||
| <p className="event-style">{props.timeStamp}</p> |
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.
Where are you incorporating the Timestamp.js file?
| <main className="App-main"> | ||
| <ul> | ||
|
|
||
| <Timeline eventProps={timelineData.events}/> |
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.
I love how you pass through the data here so you can manipulate it in more nested components.
React Timeline
Congratulations! You're submitting your assignment!
Comprehension Questions