Add explicit icon to teks
This commit is contained in:
@@ -10,6 +10,7 @@ import {
|
||||
Typography,
|
||||
Grid
|
||||
} from '@material-ui/core'
|
||||
import ExplicitIcon from '@material-ui/icons/Explicit'
|
||||
import {makeStyles} from '@material-ui/core/styles'
|
||||
|
||||
const useStyles = makeStyles({
|
||||
@@ -48,6 +49,9 @@ export default function TeksKat({teks}) {
|
||||
<Typography display='inline' style={{marginRight: 5}} variant='h6' component='h2'>
|
||||
{tit}
|
||||
</Typography>
|
||||
{teks.eksplisit && (
|
||||
<ExplicitIcon style={{marginRight: 5}} color='secondary' fontSize='small' />
|
||||
)}
|
||||
<Typography variant='caption'>
|
||||
{teks.user && (
|
||||
<>
|
||||
|
||||
Reference in New Issue
Block a user