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, ) {