mirror of
https://github.com/InsanusMokrassar/JSUIKitKBindings.git
synced 2024-06-01 23:45:12 +00:00
24 lines
770 B
Kotlin
24 lines
770 B
Kotlin
package dev.inmo.jsuikit.modifiers
|
|
|
|
sealed class UIKitSection(vararg classes: String) : UIKitModifier {
|
|
override val classes: Array<String> = classes as Array<String>
|
|
|
|
sealed class Style(suffix: String) : UIKitSection("uk-section-$suffix") {
|
|
object Default : Style("default")
|
|
object Muted : Style("muted")
|
|
object Primary : Style("primary")
|
|
object Secondary : Style("secondary")
|
|
}
|
|
|
|
sealed class Size(suffix: String) : UIKitSection("uk-section-$suffix") {
|
|
object XSmall : Size("xsmall")
|
|
object Small : Size("small")
|
|
object Large : Size("large")
|
|
object XLarge : Size("xlarge")
|
|
}
|
|
|
|
object Overlap : UIKitSection("uk-section-overlap")
|
|
|
|
companion object : UIKitSection("uk-section")
|
|
}
|