Create Akey components
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user