commonMain.com.huanshankeji.compose.material.IconButton.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
expect fun IconButton(
onClick: () -> Unit,
modifier: Modifier = Modifier,
content: @Composable () -> Unit
)
/*
// not available on JS
@Composable
expect fun IconToggleButton(
checked: Boolean,
onCheckedChange: (Boolean) -> Unit,
modifier: Modifier = Modifier,
content: @Composable () -> Unit
)
*/