mirror of
https://github.com/InsanusMokrassar/JSUIKitKBindings.git
synced 2025-12-08 07:15:46 +00:00
global changes in packages
This commit is contained in:
14
src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitButton.kt
Normal file
14
src/main/kotlin/dev/inmo/jsuikit/modifers/UIKitButton.kt
Normal file
@@ -0,0 +1,14 @@
|
||||
package dev.inmo.jsuikit.modifers
|
||||
|
||||
sealed class UIKitButton(suffix: String) : UIKitModifier {
|
||||
override val classes: Array<String> = arrayOf("uk-button-$suffix")
|
||||
|
||||
sealed class Type(suffix: String) : UIKitButton(suffix) {
|
||||
object Default : Type("default")
|
||||
object Primary : Type("primary")
|
||||
object Secondary : Type("secondary")
|
||||
object Danger : Type("danger")
|
||||
object Text : Type("text")
|
||||
object Link : Type("link")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user