File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
compose-multiplatform-material/src/jvmMain/kotlin/com/huanshankeji/compose/material Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -27,8 +27,8 @@ actual fun Button(
2727 val modifier = modifierOrAttrs.toModifier()
2828 val androidxContent: @Composable RowScope .() -> Unit = { ButtonScope (this ).content() }
2929 when (buttonType) {
30- Contained -> androidx.compose.material.Button (onClick, content = androidxContent)
31- Outlined -> OutlinedButton (onClick, content = androidxContent)
32- Text -> TextButton (onClick, content = androidxContent)
30+ Contained -> androidx.compose.material.Button (onClick, modifier, content = androidxContent)
31+ Outlined -> OutlinedButton (onClick, modifier, content = androidxContent)
32+ Text -> TextButton (onClick, modifier, content = androidxContent)
3333 }
3434}
You can’t perform that action at this time.
0 commit comments