// ** 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 TableContainer from '@mui/material/TableContainer'
// ** Icon Imports
import Icon from 'src/@core/components/icon'
// ** Custom Components Imports
import CustomChip from 'src/@core/components/mui/chip'
import OptionsMenu from 'src/@core/components/option-menu'
interface DataType {
title: string
sales: string
trend: ReactNode
trendNumber: string
}
const data: DataType[] = [
{
sales: '18,879',
title: 'Australia',
trendNumber: '15%',
trend: (
)
},
{
sales: '10,357',
title: 'Canada',
trendNumber: '85%',
trend: (
)
},
{
sales: '4,860',
title: 'India',
trendNumber: '48%',
trend: (
)
},
{
sales: '899',
title: 'US',
trendNumber: '16%',
trend: (
)
},
{
sales: '43',
title: 'Japan',
trendNumber: '35%',
trend: (
)
},
{
sales: '18',
title: 'Brazil',
trendNumber: '12%',
trend: (
)
}
]
const CardSalesInCountries = () => {
return (
}
/>
22,842
Sales Last 90 Days
{data.map((row: DataType) => {
return (
`1px solid ${theme.palette.divider}` },
'& .MuiTableCell-root': {
'&:last-of-type': { pr: 0 },
'&:first-of-type': { pl: '0 !important' },
py: theme => `${theme.spacing(2.75)} !important`
}
}}
>
{row.title}
{row.sales}
{row.trendNumber}
{row.trend}
)
})}
)
}
export default CardSalesInCountries