// ** React Imports import { ReactElement } from 'react' // ** MUI Imports import Box from '@mui/material/Box' import Grid from '@mui/material/Grid' import Card from '@mui/material/Card' import Avatar from '@mui/material/Avatar' import CardHeader from '@mui/material/CardHeader' import IconButton from '@mui/material/IconButton' import Typography from '@mui/material/Typography' import CardContent from '@mui/material/CardContent' // ** Icons Imports import TrendingUp from 'mdi-material-ui/TrendingUp' import CurrencyUsd from 'mdi-material-ui/CurrencyUsd' import DotsVertical from 'mdi-material-ui/DotsVertical' import CellphoneLink from 'mdi-material-ui/CellphoneLink' import AccountOutline from 'mdi-material-ui/AccountOutline' import CompareArrowsIcon from '@mui/icons-material/CompareArrows'; // ** Types import { ThemeColor } from '../core/layouts/types' import { Person } from '@mui/icons-material' interface DataType { stats: string title: string color: ThemeColor icon: ReactElement } const salesData: DataType[] = [ { stats: '0', title: 'Customers', color: 'primary', icon: }, { stats: '0', title: 'Accepted', color: 'success', icon: }, { stats: '0', color: 'warning', title: 'Denied', icon: }, { stats: '$0.00', color: 'info', title: 'Revenue', icon: } ] const renderStats = () => { return salesData.map((item: DataType, index: number) => ( {item.icon} {item.title} {item.stats} )) } const SellerStats = () => { return ( Total 0% growth {' '} 😎 this month } titleTypographyProps={{ sx: { mb: 2.5, lineHeight: '2rem !important', letterSpacing: '0.15px !important' } }} /> `${theme.spacing(3)} !important` }}> {renderStats()} ) } export default SellerStats