import React from "react"; import { Box, Typography } from "@mui/material"; import Card from "@mui/material/Card"; import Menu from "@mui/material/Menu"; import MenuItem from "@mui/material/MenuItem"; import IconButton from "@mui/material/IconButton"; import MoreHorizIcon from "@mui/icons-material/MoreHoriz"; import styles from "@/components/Dashboard/ProjectManagement/ActivityTimeline/ActivityTimeline.module.css"; const ActivityTimelineData = [ { id: "1", image: '/images/pdf-icon.png', title: "Donald updated the status", time: "54 min ago", }, { id: "2", image: '/images/man.png', title: "Design new UI and check sales", time: "10 hours ago", }, { id: "3", title: "James Bangs Client Meeting", image: '/images/small-product-img.png', time: "5 min ago", }, { id: "4", title: "Joseph Rust opened new showcase", image: '/images/small-product-img2.png', time: "10 min ago", }, { id: "5", title: "Brust opened new showcase", image: '/images/small-product-img3.png', time: "15 min ago", }, { id: "6", title: "Create a new project for client", image: '/images/man.png', time: "20 min ago", }, ]; const ActivityTimeline = () => { const [anchorEl, setAnchorEl] = React.useState(null); const open = Boolean(anchorEl); const handleClick = (event) => { setAnchorEl(event.currentTarget); }; const handleClose = () => { setAnchorEl(null); }; return ( <> Activity Timeline Last 15 Days Last Month Last Year
{ActivityTimelineData.slice(0, 6).map((timeline) => (
Icon
{timeline.title}

{timeline.time}

))}
); }; export default ActivityTimeline;