GravatarQuickEditorBottomSheet

fun GravatarQuickEditorBottomSheet(gravatarQuickEditorParams: GravatarQuickEditorParams, authenticationMethod: AuthenticationMethod, onAvatarSelected: () -> Unit, onDismiss: (dismissReason: GravatarQuickEditorDismissReason) -> Unit = {})

ModalBottomSheet component for the Gravatar Quick Editor that enables the user to modify their Avatar.

The bottom sheet is configured to take 70% of the screen height and skips the partially expanded state.

Parameters

gravatarQuickEditorParams

The Quick Editor parameters.

authenticationMethod

The method used for authentication with the Gravatar REST API.

onAvatarSelected

The callback for the avatar update. Can be invoked multiple times while the Quick Editor is open.

onDismiss

The callback for the dismiss action containing GravatarQuickEditorDismissReason