HorizontalDivider
fun HorizontalDivider(modifier: Modifier = Modifier, intent: DividerIntent = DividerIntent.Outline, labelHorizontalAlignment: LabelHorizontalAlignment = LabelHorizontalAlignment.Center, label: @Composable BoxScope.() -> Unit? = null)
HorizontalDivider Component. A divider is a thin line that groups content in lists and layouts.
Parameters
modifier
The modifier to be applied to the divider.
intent
The intent defining the color of the divider.
label
The optional label to be displayed on the divider.
labelHorizontalAlignment
The horizontal alignment of the label.