Default

Function: default()

[object Object]

Defined in: components/Group/GroupMembershipOverview.tsx:19

A component that renders a list of a user's group memberships. Displays group icons, names, academic years, and specific roles.

Parameters

props

The component props.

emptyText?

[object Object]

Optional override for the empty-state message (defaults to the first-person "you are not enrolled" copy used on the home page; pass a third-person alternative when showing another member's memberships, e.g. on the admin edit-member page).

groupMemberships

GroupMembershipResponseDto[]

An array of membership data objects from the API.

Returns

[object Object]

A list of group memberships or a "No Content" state.

Component

On this page