improve grid attributes

This commit is contained in:
InsanusMokrassar 2022-08-02 18:40:17 +06:00
parent c47a140719
commit 2f521a4584
2 changed files with 20 additions and 0 deletions

View File

@ -2,6 +2,8 @@
## 0.1.10
* `Grid` support improvements
## 0.1.9
* `Artile` elements become supported

View File

@ -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")