mirror of
https://github.com/InsanusMokrassar/JSUIKitKBindings.git
synced 2024-12-22 00:27:25 +00:00
improve grid attributes
This commit is contained in:
parent
c47a140719
commit
2f521a4584
@ -2,6 +2,8 @@
|
||||
|
||||
## 0.1.10
|
||||
|
||||
* `Grid` support improvements
|
||||
|
||||
## 0.1.9
|
||||
|
||||
* `Artile` elements become supported
|
||||
|
@ -14,6 +14,24 @@ sealed class UIKitGrid(vararg classnames: String) : UIKitModifier {
|
||||
|
||||
}
|
||||
|
||||
sealed class Column(classname: String) : UIKitGrid(classname) {
|
||||
|
||||
object Small : Column("uk-grid-column-small")
|
||||
object Medium : Column("uk-grid-column-medium")
|
||||
object Large : Column("uk-grid-column-large")
|
||||
object Collapse : Column("uk-grid-column-collapse")
|
||||
|
||||
}
|
||||
|
||||
sealed class Row(classname: String) : UIKitGrid(classname) {
|
||||
|
||||
object Small : Row("uk-grid-row-small")
|
||||
object Medium : Row("uk-grid-row-medium")
|
||||
object Large : Row("uk-grid-row-large")
|
||||
object Collapse : Row("uk-grid-row-collapse")
|
||||
|
||||
}
|
||||
|
||||
object Divider : UIKitGrid("uk-grid-divider")
|
||||
|
||||
object MatchHeight : UIKitGrid("uk-grid-match")
|
||||
|
Loading…
Reference in New Issue
Block a user