Create Akey components

This commit is contained in:
2023-07-22 13:38:54 +04:00
parent 05e2126f63
commit 3e7e8c7b64
2 changed files with 68 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
import PropTypes from 'prop-types'
import Grid from '@mui/material/Unstable_Grid2'
import KatAkey from './kat-akey'
export default function Statistik({statistik}) {
return (
<Grid container spacing={2} sx={{marginBottom: 3}}>
<KatAkey tit='Paroles' kantite={statistik.countParole} href='/paroles' as='/paroles' />
<KatAkey tit='Artistes' kantite={statistik.countArtiste} href='/awtis?paj&paj=1' as='/awtis/paj/1' />
</Grid>
)
}
Statistik.propTypes = {
statistik: PropTypes.object.isRequired
}