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.

34 lines
876 B

3 years ago
// it has style inside index.scss ---> // Start TimeLineComponent && end TimeLineComponent
3 years ago
import React from "react";
3 years ago
3 years ago
import SearchBox from "../SearchBox";
import TitleSubtitle from "../TitleSubtitle";
import Timeline from "./Timeline.js";
import search from "./gray-search-icon.svg";
3 years ago
import SelectYear from "../SelectYear";
3 years ago
3 years ago
const TimeLineComponent = ({ data }) => {
3 years ago
return (
3 years ago
<div className="px-10 py-4 mx-auto bg-white">
<div className="flex flex-row items-start justify-between">
3 years ago
<div>
3 years ago
<TitleSubtitle subTitle={false} />
3 years ago
<SelectYear />
</div>
3 years ago
<div className="flex-1">
<Timeline />
</div>
<SearchBox
searchIcon={search}
className={"border-[#ddd] focus:border-gray-200 focus:ring-gray-200"}
/>
3 years ago
</div>
</div>
);
};
3 years ago
export default TimeLineComponent;