// ** React Imports
import { ReactNode } from 'react'
// ** MUI Imports
import Box from '@mui/material/Box'
import Card from '@mui/material/Card'
import Table from '@mui/material/Table'
import TableRow from '@mui/material/TableRow'
import TableBody from '@mui/material/TableBody'
import TableCell from '@mui/material/TableCell'
import Typography from '@mui/material/Typography'
import CardHeader from '@mui/material/CardHeader'
import CardContent from '@mui/material/CardContent'
import LinearProgress from '@mui/material/LinearProgress'
import TableContainer from '@mui/material/TableContainer'
// ** Icon Imports
import Icon from 'src/@core/components/icon'
// ** Types
import { ThemeColor } from 'src/@core/layouts/types'
// ** Custom Components Imports
import CustomAvatar from 'src/@core/components/mui/avatar'
import OptionsMenu from 'src/@core/components/option-menu'
interface DataType {
title: string
amount: string
trend: ReactNode
color: ThemeColor
trendNumber: string
}
const data: DataType[] = [
{
title: 'Profit',
color: 'primary',
amount: '$54,234',
trendNumber: '+85%',
trend: (
)
},
{
title: 'Sales',
amount: '8,657',
color: 'warning',
trendNumber: '+42%',
trend: (
)
},
{
title: 'User',
color: 'info',
amount: '16,456',
trendNumber: '-12%',
trend: (
)
}
]
const CardGeneralStatistics = () => {
return (
}
/>
`${theme.spacing(2.5)} !important` }}>
$89,522
Last 6 Month Profit
Current Activity
{data.map((row: DataType) => {
return (
`${theme.spacing(2.75)} !important`
}
}}
>
{row.title}
{row.amount}
{row.trendNumber}
{row.trend}
)
})}
)
}
export default CardGeneralStatistics