From fc2fb24fce33b732ce0ec2598ea655d8e1f5c5e8 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Thu, 17 Feb 2022 14:57:09 +0600 Subject: [PATCH] reorder comment arguments --- CHANGELOG.md | 2 ++ src/jsMain/kotlin/dev/inmo/jsuikit/elements/Comment.kt | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c6f2fb4..a345497 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## 0.0.36 +* Reorder arguments in `DefaultComment` fun + ## 0.0.35 * Add `UIKitModal` diff --git a/src/jsMain/kotlin/dev/inmo/jsuikit/elements/Comment.kt b/src/jsMain/kotlin/dev/inmo/jsuikit/elements/Comment.kt index 65774d7..dc118df 100644 --- a/src/jsMain/kotlin/dev/inmo/jsuikit/elements/Comment.kt +++ b/src/jsMain/kotlin/dev/inmo/jsuikit/elements/Comment.kt @@ -45,16 +45,16 @@ fun Comment( @Composable fun DefaultComment( + rootAttrs: Attrs = Attrs.empty(), headerGridAttrs: Attrs? = null, + headerAttrs: Attrs? = null, + additionalHeaderContent: ContentBuilder? = null, avatarUrl: String? = null, avatarAttrs: Attrs? = null, titleAttrs: Attrs? = null, titleContent: ContentBuilder? = null, metaAttrs: Attrs? = null, metaContent: ContentBuilder? = null, - rootAttrs: Attrs = Attrs.empty(), - headerAttrs: Attrs? = null, - additionalHeaderContent: ContentBuilder? = null, bodyAttrs: Attrs? = null, bodyContent: ContentBuilder? = null, ) {