mirror of
https://github.com/InsanusMokrassar/JSUIKitKBindings.git
synced 2024-11-17 05:43:51 +00:00
19 lines
535 B
Kotlin
19 lines
535 B
Kotlin
|
package dev.inmo.jsuikit.modifiers
|
||
|
|
||
|
sealed class UIKitAlert(classname: String) : UIKitModifier {
|
||
|
override val classes: Array<String> = arrayOf(classname)
|
||
|
|
||
|
sealed class Style(classname: String) : UIKitAlert(classname) {
|
||
|
|
||
|
object Primary : Style("uk-alert-primary")
|
||
|
object Success : Style("uk-alert-success")
|
||
|
object Warning : Style("uk-alert-warning")
|
||
|
object Danger : Style("uk-alert-danger")
|
||
|
|
||
|
}
|
||
|
|
||
|
object Close : UIKitAlert("uk-alert-close")
|
||
|
|
||
|
companion object : UIKitAlert("uk-alert")
|
||
|
}
|