Add bagde to komantè

This commit is contained in:
Cédric FAMIBELLE-PRONZOLA
2022-03-26 15:41:05 +04:00
parent 92e681ca36
commit 88f28d5975
+4 -1
View File
@@ -12,7 +12,8 @@ import {
Button,
Typography,
Tooltip,
Zoom
Zoom,
Badge
} from '@mui/material'
import CommentIcon from '@mui/icons-material/Comment'
import {useRouter} from 'next/router'
@@ -87,7 +88,9 @@ export default function VweKomante({komante, teks}) {
size='large'
onClick={handleClick}
>
<Badge badgeContent={komante.length} color='primary'>
<CommentIcon />
</Badge>
</IconButton>
</KomanteTooltip>
<Dialog