Skip to content

Commit 78e82f4

Browse files
committed
2
1 parent 46f9e6e commit 78e82f4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

miuix/src/commonMain/kotlin/top/yukonga/miuix/kmp/basic/Button.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import androidx.compose.ui.semantics.Role
1616
import androidx.compose.ui.semantics.role
1717
import androidx.compose.ui.semantics.semantics
1818
import androidx.compose.ui.unit.Dp
19-
import androidx.compose.ui.unit.DpSize
2019
import androidx.compose.ui.unit.dp
2120
import top.yukonga.miuix.kmp.theme.MiuixTheme
2221
import top.yukonga.miuix.kmp.utils.SmoothRoundedCornerShape

miuix/src/commonMain/kotlin/top/yukonga/miuix/kmp/basic/Scaffold.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ import androidx.compose.ui.util.fastMap
2929
import androidx.compose.ui.util.fastMapNotNull
3030
import androidx.compose.ui.util.fastMaxBy
3131
import top.yukonga.miuix.kmp.theme.MiuixTheme
32+
import top.yukonga.miuix.kmp.utils.MiuixPopupUtil
3233
import top.yukonga.miuix.kmp.utils.MiuixPopupUtil.Companion.MiuixPopupHost
3334

3435
/**
@@ -45,6 +46,8 @@ import top.yukonga.miuix.kmp.utils.MiuixPopupUtil.Companion.MiuixPopupHost
4546
* @param floatingActionButtonPosition position of the floating action button.
4647
* @param snackbarHost component to host [Snackbar]s that are pushed to be shown via
4748
* [SnackbarHostState.showSnackbar], typically a [SnackbarHost].
49+
* @param popupHost component to host [SuperDropdown]s & [SuperDialog]s that are pushed to be shown via
50+
* [MiuixPopupUtil.showPopup] & [MiuixPopupUtil.showDialog], typically a [MiuixPopupHost].
4851
* @param containerColor the color used for the background of this scaffold. Use [Color.Transparent]
4952
* to have no color.
5053
* @param contentWindowInsets window insets to be passed to [content] slot via [PaddingValues]

0 commit comments

Comments
 (0)