UserInfoWithConsentComponent

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

Renders a card displaying the extended, consent-granted user profile returned by the MTN MOMO userinfo endpoint — identity, contact, address, birthplace, employment, and identification details. Every field is optional and omitted from the layout when absent.

Parameters

modifier

Modifier applied to the card.

userInfoWithConsent

LiveData holding the UserInfoWithConsent to display.