Add Peertube icon to TeksKat

This commit is contained in:
2023-03-07 09:39:18 +04:00
parent 873c7a9008
commit 6ad1822122
+4
View File
@@ -13,6 +13,7 @@ import {
} from '@mui/material'
import ExplicitIcon from '@mui/icons-material/Explicit'
import {styled} from '@mui/material/styles'
import {Peertube} from '@icons-pack/react-simple-icons'
import {getAlias} from '../../lib/utils/format'
@@ -64,6 +65,9 @@ export default function TeksKat({parole}) {
<Typography display='inline' style={{marginRight: 5}} variant='h6' component='h2'>
{titre}
</Typography>
{attributes.gadeEmbed && !attributes.okiMizikID && (
<Peertube style={{marginRight: 5}} fontSize='small' />
)}
{attributes.explicitLyrics && (
<ExplicitIcon style={{marginRight: 5}} color='secondary' fontSize='small' />
)}