initial commit
This commit is contained in:
+22
@@ -0,0 +1,22 @@
|
||||
// MUI Imports
|
||||
import Grid from '@mui/material/Grid2'
|
||||
|
||||
// Types Imports
|
||||
import type { CardStatsCustomerStatsProps } from '@/types/pages/widgetTypes'
|
||||
|
||||
// Component Imports
|
||||
import CustomerStats from '@components/card-statistics/CustomerStats'
|
||||
|
||||
const CustomerStatisticsCard = ({ customerStatData }: { customerStatData?: CardStatsCustomerStatsProps[] }) => {
|
||||
return (
|
||||
<Grid container spacing={6}>
|
||||
{customerStatData?.map((item, index) => (
|
||||
<Grid size={{ xs: 12, md: 6 }} key={index}>
|
||||
<CustomerStats {...item} />
|
||||
</Grid>
|
||||
))}
|
||||
</Grid>
|
||||
)
|
||||
}
|
||||
|
||||
export default CustomerStatisticsCard
|
||||
Reference in New Issue
Block a user