mirror of
https://github.com/InsanusMokrassar/JSUIKitKBindings.git
synced 2024-11-16 13:23:58 +00:00
23 lines
510 B
Kotlin
23 lines
510 B
Kotlin
package dev.inmo.jsuikit.elements
|
|
|
|
import androidx.compose.runtime.Composable
|
|
import dev.inmo.jsuikit.modifiers.UIKitModifier
|
|
import dev.inmo.jsuikit.modifiers.include
|
|
import org.jetbrains.compose.web.dom.Progress
|
|
|
|
@Composable
|
|
fun Progress(
|
|
value: Int,
|
|
vararg modifiers: UIKitModifier,
|
|
max: Int = 100
|
|
) {
|
|
Progress(
|
|
{
|
|
classes("uk-progress")
|
|
include(*modifiers)
|
|
attr("max", max.toString())
|
|
attr("value", value.toString())
|
|
}
|
|
)
|
|
}
|