Add support of size and group in UIKitButton

This commit is contained in:
InsanusMokrassar 2022-05-23 16:51:09 +06:00
parent 36f5d5661b
commit 854bc9f8ca
2 changed files with 9 additions and 0 deletions

View File

@ -2,6 +2,8 @@
## 0.1.6
* Add support of UIKitButton size and group
## 0.1.5
* Fix access to `UIKitSticky`

View File

@ -12,5 +12,12 @@ sealed class UIKitButton(suffix: String?) : UIKitModifier {
object Link : Type("link")
}
sealed class Size(suffix: String) : UIKitButton(suffix) {
object Small : Size("small")
object Large : Size("large")
}
object Group : UIKitButton("group")
companion object : UIKitButton(null)
}