You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

15 lines
390 B

import React from "react";
import timeLineData from "./data.js";
import TimeLineItem from "./TimeLineItem.js";
const TimeLine = () =>
timeLineData.length > 0 && (
<div className="timeline-container flex flex-col relative my-10">
{timeLineData.slice(0, 6).map((data, idx) => (
<TimeLineItem data={data} key={idx} />
))}
</div>
);
export default TimeLine;