mirror of
https://github.com/InsanusMokrassar/JSUIKitKBindings.git
synced 2024-11-16 13:23:49 +00:00
23 lines
526 B
Kotlin
23 lines
526 B
Kotlin
|
package dev.inmo.jsuikit.defaults
|
||
|
|
||
|
import androidx.compose.runtime.Composable
|
||
|
import dev.inmo.jsuikit.defaults.modifers.UIKitModifier
|
||
|
import dev.inmo.jsuikit.defaults.modifers.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())
|
||
|
}
|
||
|
)
|
||
|
}
|