StripeBottomSheetLayout

fun StripeBottomSheetLayout(state: StripeBottomSheetState, layoutInfo: StripeBottomSheetLayoutInfo, modifier: Modifier = Modifier, onDismissed: () -> Unit, sheetContent: @Composable () -> Unit)

Renders the provided sheetContent in a modal bottom sheet.

Parameters

state

The StripeBottomSheetState that controls the visibility of the bottom sheet. navigate to a specific screen.

layoutInfo

The StripeBottomSheetLayoutInfo that controls how the bottom sheet is styled

onDismissed

Called when the user dismisses the bottom sheet by swiping down. You should inform your view model about this change.

sheetContent

The content to render in the sheet