kjsuikit/src/main/kotlin/dev/inmo/jsuikit/defaults/modifers/UIKitUtility.kt

13 lines
384 B
Kotlin
Raw Normal View History

2021-12-22 08:38:12 +00:00
package dev.inmo.jsuikit.defaults.modifers
sealed class UIKitUtility(classname: String) : UIKitModifier {
override val classes: Array<String> = arrayOf(classname)
sealed class Overflow(suffix: String) : UIKitUtility("uk-overflow-$suffix") {
object Hidden : Overflow("hidden")
object Auto : Overflow("auto")
}
object Logo : UIKitUtility("uk-logo")
}