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 "../../HelpDesk/Activity/Activity.module.css"; const ActivityTimelineData = [ { id: "1", title: "Drop us an email at [Insert Email Address]", text: "We'll get back to you as soon as possible with detailed..", icon: "/images/support.png", date: "10 Min ago", }, { id: "2", title: "Visit our website [Insert Website URL]", text: "Initiate a live chat session. Our team will be there to live chat session...", icon: "/images/avatar2.png", date: "11:47 PM", }, { id: "3", title: "Our representatives are available", text: "Dial our toll-free number, representative are available..", icon: "/images/time.png", date: "07 June", }, { id: "4", title: "Drop us an email at [Insert Email Address]", text: "We'll get back to you as soon as possible with detailed..", icon: "/images/support.png", date: "05 June", }, ]; const Activity = () => { const [anchorEl, setAnchorEl] = React.useState(null); const open = Boolean(anchorEl); const handleClick = (event) => { setAnchorEl(event.currentTarget); }; const handleClose = () => { setAnchorEl(null); }; return ( <> Activity Last 15 Days Last Month Last Year
{ActivityTimelineData.slice(0, 4).map((timeline) => (
Icon
{timeline.title}

{timeline.text}

{timeline.date}

))}
); }; export default Activity;