JSFiddle - React, Tailwind, and code Playground
by von
JavaScript
Office365Users.UserPhoto(User().Email)
f(Not(IsBlank(Office365Users.UserPhoto(User().Email))),Office365Users.UserPhoto(User().Email),Icon.Person)
If(Not(IsBlank(Office365Users.UserPhoto(User().Email))),Office365Users.UserPhoto(User().Email),'microsoft-powerapps-logo')