androidxCommonMain.com.huanshankeji.compose.material.IconButton.androidxCommon.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of compose-multiplatform-material-jvm Show documentation
Show all versions of compose-multiplatform-material-jvm Show documentation
Material Design component wrappers for Compose Multiplatform (desktop/Android and web)
The newest version!
package com.huanshankeji.compose.material
import androidx.compose.runtime.Composable
import com.huanshankeji.compose.ui.Modifier
@Composable
actual fun IconButton(
onClick: () -> Unit,
modifier: Modifier,
content: @Composable () -> Unit
) =
androidx.compose.material.IconButton(onClick, modifier.platformModifier, content = content)
/*
@Composable
actual fun IconToggleButton(
checked: Boolean,
onCheckedChange: (Boolean) -> Unit,
modifier: Modifier,
content: @Composable () -> Unit
) =
androidx.compose.material.IconToggleButton(checked, onCheckedChange, modifier.platformModifier, content = content)
*/