JengaBottomBar

fun JengaBottomBar(modifier: Modifier = Modifier, colors: JengaBottomBarColors = JengaBottomBarDefaults.colors(), content: @Composable RowScope.() -> Unit)(source)

A bottom app bar: a surface pinned to the bottom of a JengaScaffold hosting a row of actions. Applies the navigation-bar inset itself, so it sits correctly above the system bar in an edge-to-edge app, and draws a hairline divider on top.

Lay it out as the scaffold's bottomBar slot; the content is a RowScope so you can weight the primary action.

Parameters

modifier

the Modifier for this bar.

colors

the color set; defaults to JengaBottomBarDefaults.colors.

content

the actions, laid out in a RowScope; inherit content color.

Samples

JengaBottomBar(
    content = {
        JengaButton(
            text = "Manual entry",
            onClick = { },
        )
    },
)