Default
Function: default()
[object Object]
Defined in: app/components/Activity/ActivityParticipantsTile/ParticipantTile.tsx:26
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 specification answers, it automatically cycles through them with a sliding animation every 3 seconds.
- Hover Effects: Includes subtle scaling and color transitions for better interactivity.
Parameters
props
The component props.
enrollment
The enrollment data, including member details and specification answers.
Returns
[object Object]
Component
Example
<ParticipantTile
enrollment={enrollmentData}
/>