fix in Accordion and UIKitAccordion.Companion

This commit is contained in:
InsanusMokrassar 2022-02-23 23:10:19 +06:00
parent 6f913c0a83
commit ebbfac6763
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ fun <T> Accordion(
) {
Ul(
{
include()
include(UIKitAccordion)
attrs.builder(this)
}
) {

View File

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