LargeProfileSummary
LargeProfileSummary is a composable that displays a user's profile in a resumed way. Given a Profile, it displays a LargeProfileSummary using the other atomic components provided within the SDK.
Parameters
profile
The user's profile information
modifier
Composable modifier
fun LargeProfileSummary(state: ComponentState<Profile>, modifier: Modifier = Modifier, avatar: @Composable (state: ComponentState<Profile>) -> Unit = { profileState ->
Avatar(
state = profileState,
size = 132.dp,
modifier = Modifier.clip(CircleShape),
)
}, viewProfile: @Composable (state: ComponentState<Profile>) -> Unit = { profileState ->
ViewProfileButton(
state = profileState,
modifier = Modifier.padding(0.dp),
inlineContent = null,
)
})
LargeProfileSummary is a composable that displays a user's profile in a resumed way. Given a ComponentState for a Profile, it displays a LargeProfileSummary in the appropriate state.
Parameters
state
The user's profile state
modifier
Composable modifier
avatar
Composable to display the user avatar
viewProfile
Composable to display the view profile button