The useParticipantInfo hook returns the identity, name, and metadata of a given participant. It requires a Participant object passed as property or via the ParticipantContext.
useParticipantInfo
Participant
ParticipantContext
const { identity, name, metadata } = useParticipantInfo({ participant });
Optional
Generated using TypeDoc
The
useParticipantInfo
hook returns the identity, name, and metadata of a given participant. It requires aParticipant
object passed as property or via theParticipantContext
.Example