CompactButtonContent
Source set: Android
@Composable
public fun CompactButtonContent(
modifier: Modifier = Modifier,
icon: (@Composable BoxScope.() -> Unit)? = null,
enabled: Boolean = true,
colors: ButtonColors = ButtonDefaults.buttonColors(),
label: (@Composable RowScope.() -> Unit)? = null,
)
Parameters
| modifier | Modifier to be applied to the compact button content layout. |
| icon | A slot for providing the button's icon. |
| enabled | Controls the enabled state of the button content. |
| colors | ButtonColors that will be used to resolve the content and icon colors in different states. See ButtonDefaults.buttonColors. |
| label | A slot for providing the button's main label. |