diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d8e3a7..6785495 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## 0.0.53 +Improvements in `UIKitPadding` + ## 0.0.52 * Improve work with UIKitModifiers diff --git a/src/jsMain/kotlin/dev/inmo/jsuikit/modifiers/UIKitPadding.kt b/src/jsMain/kotlin/dev/inmo/jsuikit/modifiers/UIKitPadding.kt index ab7c57f..ab2481f 100644 --- a/src/jsMain/kotlin/dev/inmo/jsuikit/modifiers/UIKitPadding.kt +++ b/src/jsMain/kotlin/dev/inmo/jsuikit/modifiers/UIKitPadding.kt @@ -8,7 +8,10 @@ sealed class UIKitPadding(suffix: String?) : UIKitModifier { object Small : Size("small") object Large : Size("large") - companion object : Size(null) + companion object : Size(null) { + val Default + get() = this + } } @@ -25,5 +28,6 @@ sealed class UIKitPadding(suffix: String?) : UIKitModifier { } + companion object : Size(null) }