diff --git a/src/App.js b/src/App.js
index 5f4cdf8..74b72b0 100644
--- a/src/App.js
+++ b/src/App.js
@@ -7,14 +7,15 @@ import Timeline from './components/Timeline';
class App extends Component {
render() {
console.log(timelineData);
-
// Customize the code below
+ const allEvents = timelineData.events
return (
- Application title
+ Social Feeds
+
);
diff --git a/src/components/Timeline.js b/src/components/Timeline.js
index 624d4ec..507d335 100644
--- a/src/components/Timeline.js
+++ b/src/components/Timeline.js
@@ -2,9 +2,25 @@ import React from 'react';
import './Timeline.css';
import TimelineEvent from './TimelineEvent';
-const Timeline = () => {
+const Timeline = (props) => {
// Fill in your code here
- return;
+
+ const allTimelineEvents = props.events.map((timelineEvent,i)=>{
+ return (
+
+ );
+ });
+ return(
+
+ );
}
export default Timeline;
diff --git a/src/components/TimelineEvent.js b/src/components/TimelineEvent.js
index 9079165..f89bdcc 100644
--- a/src/components/TimelineEvent.js
+++ b/src/components/TimelineEvent.js
@@ -2,9 +2,23 @@ import React from 'react';
import './TimelineEvent.css';
import Timestamp from './Timestamp';
-const TimelineEvent = () => {
- // Fill in your code here
- return;
+const TimelineEvent = (props) => {
+
+ return (
+
+
+
+ {props.person}
+
+
+ {props.status}
+
+
+
+
+
+
+ );
}
export default TimelineEvent;