Add support of size and group in UIKitButton

This commit is contained in:
InsanusMokrassar committed 2022-05-23 16:51:09 +06:00
1 parent 36f5d5661b
commit 854bc9f8ca
2 files changed
+9

No files matched your search

+2
View File
@@ -2,6 +2,8 @@
## 0.1.6
* Add support of UIKitButton size and group
## 0.1.5
* Fix access to `UIKitSticky`
@@ -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)
}