Skip to content

Persona with custom presence icons? #17214

Answered by TheColdPot
GordonSmith asked this question in Q&A
Discussion options

You must be logged in to vote

Persona has a presence prop. It's type is enum PersonaPresence.
If you want to add an icon with a presence,

<Persona
    {...OtherPersonaProps}
    size={PersonaSize.size8}
    presence={PersonaPresence.online}
 />

PersonaPresence has following values:

away     = 3
blocked  = 5
busy     = 6
dnd      = 4
none     = 0
offline  = 1
online   = 2

Fluent UI cannot having custom image for presence yet. You can submit an issue or raise an idea.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by khmakoto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants