mirror of
https://github.com/InsanusMokrassar/JSUIKitKBindings.git
synced 2024-11-16 13:23:49 +00:00
12 lines
358 B
Kotlin
12 lines
358 B
Kotlin
|
package dev.inmo.jsuikit.modifiers
|
||
|
|
||
|
sealed class UIKitLabel(suffix: String?) : UIKitModifier {
|
||
|
override val classes: Array<String> = arrayOf("uk-label${suffix?.let { "-$it" } ?: ""}")
|
||
|
|
||
|
object Success : UIKitLabel("success")
|
||
|
object Warning : UIKitLabel("warning")
|
||
|
object Error : UIKitLabel("danger")
|
||
|
|
||
|
companion object : UIKitLabel(null)
|
||
|
}
|