I want to set the textToSpeechValue, selectedTakes, selectedZoneGroups, selectedPriority, selectedPlayCount, selectedRepInterval inside the react Material TextField to strong. The t() function is only to translate some literals and the conditions is only to decide when to show ' in ', you can ignore them if you want.
I would like to my final result was something like this Play Hello World in Cuba whit Low Priority Play Count 3 Repeat Interval 8.
This is my code so far whit no strong fonts obviously.
<TextField
className={classes.textFieldSummay}
id='outlined-multiline-static'
label={t('Summary')}
multiline
rows={10}
defaultValue=''
fullWidth={true}
InputProps={{
readOnly: true
}}
value={
t('Play') + ' ' +
textToSpeechValue +
selectedTakes +
(selectedZoneGroups.length > 0 ? ' ' + t('in') + ' ' + selectedTakes : '') +
' ' + t('with') + ' ' +
selectedPriority +
' ' + t('Play Count') + ' ' +
selectedPlayCount +
' ' + t('Repeat Interval') + ' ' +
selectedRepInterval
}
/>