in src/Persona.tsx [50:64]
public render(): JSX.Element {
return (
<PersonaOF
className={this.props.className}
size={this.props.size || PersonaSize.size40}
text={this.state.profile.displayName}
// tslint:disable-next-line:no-bitwise
secondaryText={this.props.showMode & ShowModeFlags.Title ? this.state.profile.jobTitle : undefined}
// tslint:disable-next-line:no-bitwise
tertiaryText={this.props.showMode & ShowModeFlags.Department ? this.state.profile.department : undefined}
imageUrl={this.state.photoUrl}
imageAlt={this.state.profile.displayName}
/>
);
}