diff --git a/web/core/src/jsMain/kotlin/org/jetbrains/compose/web/elements/Base.kt b/web/core/src/jsMain/kotlin/org/jetbrains/compose/web/elements/Base.kt index 0cebc82819..3b117ec054 100644 --- a/web/core/src/jsMain/kotlin/org/jetbrains/compose/web/elements/Base.kt +++ b/web/core/src/jsMain/kotlin/org/jetbrains/compose/web/elements/Base.kt @@ -152,7 +152,7 @@ fun TagElement( @ExperimentalComposeWebApi fun TagElement( tagName: String, - applyAttrs: AttrsScope.() -> Unit, + applyAttrs: (AttrsScope.() -> Unit)?, content: (@Composable ElementScope.() -> Unit)? ) = TagElement( elementBuilder = ElementBuilder.createBuilder(tagName),