diff --git a/CHANGELOG.md b/CHANGELOG.md index 89459c9..88813af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## 0.0.13 +* Add `Icon#Custom` + ## 0.0.12 * Add `rowAttributes` to table fun diff --git a/src/jsMain/kotlin/dev/inmo/jsuikit/elements/Icon.kt b/src/jsMain/kotlin/dev/inmo/jsuikit/elements/Icon.kt index 7ae3744..8e79559 100644 --- a/src/jsMain/kotlin/dev/inmo/jsuikit/elements/Icon.kt +++ b/src/jsMain/kotlin/dev/inmo/jsuikit/elements/Icon.kt @@ -226,6 +226,8 @@ sealed class Icon(val name: String) { } } + class Custom(name: String) : Icon(name) + @Composable fun drawAsButton( vararg modifiers: UIKitModifier,