From 7b06e0ecb133fae6be8164bf8e0d72a9180d7fcf Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Thu, 17 Feb 2022 17:46:15 +0600 Subject: [PATCH] add UIKitCustom --- CHANGELOG.md | 1 + src/jsMain/kotlin/dev/inmo/jsuikit/modifiers/UIKitCustom.kt | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 src/jsMain/kotlin/dev/inmo/jsuikit/modifiers/UIKitCustom.kt diff --git a/CHANGELOG.md b/CHANGELOG.md index 75e0686..f1a49f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ * Reorder arguments in `DefaultComment` fun * Add `Vertical` and `Horizontal` members in margins * Add `afterHeaderBuilder` and `beforeFooterBuilder` properties in `Dialog` fun +* Add `UIKitCustom` to be able for simple creating of custom modifiers ## 0.0.35 diff --git a/src/jsMain/kotlin/dev/inmo/jsuikit/modifiers/UIKitCustom.kt b/src/jsMain/kotlin/dev/inmo/jsuikit/modifiers/UIKitCustom.kt new file mode 100644 index 0000000..6d0a580 --- /dev/null +++ b/src/jsMain/kotlin/dev/inmo/jsuikit/modifiers/UIKitCustom.kt @@ -0,0 +1,6 @@ +package dev.inmo.jsuikit.modifiers + +class UIKitCustom( + override val classes: Array = emptyArray(), + override val otherAttrs: Map = emptyMap() +) : UIKitModifier