Skip to content

Instantly share code, notes, and snippets.

@arcadefire
Last active Sep 12, 2021
Embed
What would you like to do?
Bottom sheet scaffold
@Composable
fun MyBottomSheet(
header: @Composable () -> Unit,
body: @Composable () -> Unit,
) {
Box {
Column(Modifier.fillMaxHeight()) {
header()
Box(Modifier.fillMaxWidth()) {
body()
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment