diff --git a/src/jsMain/kotlin/dev/inmo/jsuikit/modifiers/AttributeValue.kt b/src/jsMain/kotlin/dev/inmo/jsuikit/modifiers/AttributeValue.kt index 1db9ac2..7bf209c 100644 --- a/src/jsMain/kotlin/dev/inmo/jsuikit/modifiers/AttributeValue.kt +++ b/src/jsMain/kotlin/dev/inmo/jsuikit/modifiers/AttributeValue.kt @@ -1,3 +1,5 @@ package dev.inmo.jsuikit.modifiers -sealed class AttributeValue(val name: String) +sealed class AttributeValue(val name: String) { + override fun toString(): String = name +} diff --git a/src/jsMain/kotlin/dev/inmo/jsuikit/modifiers/UIKitDropdown.kt b/src/jsMain/kotlin/dev/inmo/jsuikit/modifiers/UIKitDropdown.kt index 2aef2d5..b1374b0 100644 --- a/src/jsMain/kotlin/dev/inmo/jsuikit/modifiers/UIKitDropdown.kt +++ b/src/jsMain/kotlin/dev/inmo/jsuikit/modifiers/UIKitDropdown.kt @@ -43,8 +43,6 @@ sealed class UIKitDropdown(classname: String) : UIKitModifier { } - override fun toString(): String = name - } sealed class Mode(name: String) : AttributeValue(name) {