File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
compose-multiplatform-common/src/jsMain/kotlin/com/huanshankeji/compose/foundation/layout Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 1
1
package com.huanshankeji.compose.foundation.layout
2
2
3
3
import androidx.compose.runtime.Composable
4
+ import com.huanshankeji.compose.foundation.layout.ext.DivBox
4
5
import com.huanshankeji.compose.ui.Modifier
5
- import com.huanshankeji.compose.ui.toAttrs
6
- import org.jetbrains.compose.web.dom.Div
7
6
8
7
@Composable
9
- actual fun Spacer (modifier : Modifier ) {
10
- AddKobwebComposeStyleSheet ()
11
- Div (attrs = modifier.toAttrs { classes(" kobweb-spacer" ) })
12
- // com.varabyte.kobweb.compose.foundation.layout.Spacer() // use this when `Modifier` is supported
13
- }
8
+ actual fun Spacer (modifier : Modifier ) =
9
+ DivBox (modifier.platformModifier)
You can’t perform that action at this time.
0 commit comments