this is my code :
{
delay > 0
? <strong className="history__late"> {delayDayConst}j {delayHourConst}h {delayMin}m <FormattedMessage {...globalMessages.inProgressAndLate} />
</strong>
: delay < 0
? <span className="history__advance"> - {delayDayConst}j {delayHourConst}h {delayMin}m <FormattedMessage {...globalMessages.inProgressAndAhead} /></span>
: <span className="history__break"><FormattedMessage {...globalMessages.break} /></span>
}
I only want to insert a CSS line on my condition, this CSS line point to another element not present in the function. I try some of things but no found a solution.
PS: sorry for my bad englsih.