Profile

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

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

Parameters

profile

The user's profile information

modifier

Composable modifier


fun Profile(state: ComponentState<Profile>, modifier: Modifier = Modifier)

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

Parameters

state

The user's profile state

modifier

Composable modifier