fix in Accordion and UIKitAccordion.Companion

This commit is contained in:
InsanusMokrassar committed 2022-02-23 23:10:19 +06:00
1 parent 6f913c0a83
commit ebbfac6763
2 files changed
+2 -2

No files matched your search

@@ -17,7 +17,7 @@ fun <T> Accordion(
) { ) {
Ul( Ul(
{ {
include() include(UIKitAccordion)
attrs.builder(this) attrs.builder(this)
} }
) { ) {
@@ -17,7 +17,7 @@ sealed class UIKitAccordion(
otherAttrs: Map<String, String> = emptyMap() otherAttrs: Map<String, String> = emptyMap()
) : UIKitAccordion (otherAttrs = otherAttrs) ) : UIKitAccordion (otherAttrs = otherAttrs)
companion object : UIKitAccordion("uk-accordion") { companion object : UIKitAccordion("uk-accordion", otherAttrs = mapOf("uk-accordion" to "")) {
val Open = UIKitUtility.Open val Open = UIKitUtility.Open
operator fun invoke( operator fun invoke(