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/eCommerce/NewCustomers/NewCustomers.module.css" const NewCustomersData = [ { id: "1", image: "/images/user2.png", name: "Jordan Stevenson", userName: "@jstevenson5c", price: "$289.50", order: "15 Orders", }, { id: "2", image: "/images/user3.png", name: "Lydia Reese", userName: "@lreese3b", price: "$289.50", order: "15 Orders", }, { id: "3", image: "/images/user4.png", name: "Easin Arafat", userName: "@jstevenson5c", price: "$289.50", order: "15 Orders", }, { id: "4", image: "/images/user5.png", name: "Easin Arafat", userName: "@jstevenson5c", price: "$289.50", order: "15 Orders", } ]; const NewCustomers = () => { const [anchorEl, setAnchorEl] = React.useState(null); const open = Boolean(anchorEl); const handleClick = (event) => { setAnchorEl(event.currentTarget); }; const handleClose = () => { setAnchorEl(null); }; return ( <> New Customers Last 15 Days Last Month Last Year {NewCustomersData.slice(0, 4).map((customer) => (
user

{customer.name}

{customer.userName}

{customer.price}
{customer.order}
))}
); }; export default NewCustomers;