JengaInline

fun JengaInline(modifier: Modifier = Modifier, space: Dp = JengaTheme.spacing.md, verticalAlignment: Alignment.Vertical = Alignment.CenterVertically, content: @Composable RowScope.() -> Unit)(source)

A horizontal row with token-based spacing; use instead of a hand-spaced Row. (Braid/Polaris Inline / Chakra HStack.) Does not wrap; see JengaWrap.

Parameters

modifier

the Modifier for the row.

space

horizontal gap between children; defaults to spacing.md.

verticalAlignment

how children align vertically.

content

the children, in a RowScope.

Samples

JengaInline(
    content = {
        JengaText(
            text = "A",
        )
        JengaText(
            text = "B",
        )
        JengaText(
            text = "C",
        )
    },
)