ProfileHeaderComponent

fun ProfileHeaderComponent(modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, basicUserInfo: ERROR CLASS: Symbol not found for MutableLiveData<ERROR CLASS: Symbol not found for BasicUserInfo?>, userInfoWithConsent: ERROR CLASS: Symbol not found for MutableLiveData<ERROR CLASS: Symbol not found for UserInfoWithConsent?>)

A hero profile card shown at the top of the Home screen: a circular avatar with the user's initials, their name, a secondary detail line (email or subject ID), and a "Verified" pill when consent-granted profile data is available. Falls back to BasicUserInfo before consent data loads.

Parameters

modifier

Modifier applied to the card.

basicUserInfo

LiveData holding the BasicUserInfo.

userInfoWithConsent

LiveData holding the richer UserInfoWithConsent.