create cards implementation and upgrade labels

This commit is contained in:
2022-01-25 12:39:09 +06:00
parent 0da87743e8
commit 936bb2d6fd
6 changed files with 166 additions and 33 deletions

View File

@@ -0,0 +1,11 @@
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)
}