import React from "react"; import timeLineData from "./data.js"; import TimeLineItem from "./TimeLineItem.js"; const TimeLine = () => timeLineData.length > 0 && (
{timeLineData.slice(0, 3).map((data, idx) => ( ))}
); export default TimeLine;