Profile

fun Profile(profile: UserProfile, modifier: Modifier = Modifier)

Profile is a composable that displays a user's profile card. Given a UserProfile, it displays a Profile using the other atomic components provided within the SDK.

Parameters

profile

The user's profile information

modifier

Composable modifier


fun Profile(state: UserProfileState, modifier: Modifier = Modifier)

Profile is a composable that displays a user's profile card. Given a UserProfileState, it displays a Profile or the skeleton if it's in a loading state.

Parameters

state

The user's profile state

modifier

Composable modifier