I have a very simple question. It should be very easy. I can't change color of secondaryText in PersonaDisplay.
<Persona
text="{User.displayName}"
secondaryText={User.currentEmployee === 'true' && 'No longer works'}
size={PersonaSize.size48}
imageUrl={'/_layouts/15/userphoto.aspx?size=S&accountname=' + this.props.User.name}
className={User.currentEmployee === 'true' && 'noLongerWorks'}
/>
It does not get my noLongerWorks
class properties :
.noLongerWorks {
color: "red";
}
I went over the docs but see nothing, probably missing a minor spot. I tried to add manual styling as well but no lock.