Default

Function: default()

[object Object]

Defined in: components/Activity/ActivityParticipantsTile/ParticipantTile.tsx:75

A compact tile component used to display an individual participant's information.

Key features:

  • Profile Picture: Fetches the member's profile picture or falls back to a default SVG.
  • Dynamic Answers: If the enrollment contains multiple public specification answers, it automatically cycles through them with a sliding animation, synchronized across every mounted ParticipantTile via a shared heartbeat.
  • Hover Effects: Includes subtle scaling and color transitions for better interactivity.
  • Board Navigation: Board members can click a tile to open that member's admin profile.

Parameters

props

The component props.

enrollment

EnrollmentResponseDto

The enrollment data, including member details and specification answers.

isBoard?

[object Object]

Whether the current viewer is a board member; when true, the tile links to the member's admin page.

Returns

[object Object]

Component

Example

<ParticipantTile
enrollment={enrollmentData}
isBoard={true}
/>

On this page