import React from 'react'; import { useTranslation } from 'react-i18next'; import { makeStyles } from 'tss-react/mui'; import TimelineAxis from './TimelineAxis'; const useStyles = makeStyles()(theme => { return { labels: { padding: '22px 0 7px 0', height: 20, '& .avatar-placeholder': { width: '32px', marginRight: theme.spacing(3) } } }; }); /** * The type of the React {@code Component} props of {@link SpeakerStatsLabels}. */ interface IProps { /** * True if the face expressions detection is not disabled. */ showFaceExpressions: boolean; } const SpeakerStatsLabels = (props: IProps) => { const { t } = useTranslation(); const { classes } = useStyles(); const nameTimeClass = `name-time${ props.showFaceExpressions ? ' expressions-on' : '' }`; return (