mirror of
https://github.com/InsanusMokrassar/JSUIKitKBindings.git
synced 2024-11-16 13:23:58 +00:00
18 lines
515 B
Kotlin
18 lines
515 B
Kotlin
package dev.inmo.jsuikit.modifiers
|
|
|
|
sealed class UIKitNavbar(suffix: String) : UIKitModifier {
|
|
override val classes: Array<String> = arrayOf("uk-navbar-$suffix")
|
|
|
|
object Transparent : UIKitNavbar("transparent")
|
|
sealed class Dropdown(suffix: String?) : UIKitNavbar("dropdown${suffix ?.let { "-$it" } ?: ""}") {
|
|
object Nav : Dropdown("nav")
|
|
|
|
companion object : Dropdown(null)
|
|
}
|
|
object Item : UIKitNavbar("item")
|
|
|
|
companion object {
|
|
val Logo = UIKitUtility.Logo
|
|
}
|
|
}
|