diff --git a/src/jsMain/kotlin/dev/inmo/jsuikit/elements/Nav.kt b/src/jsMain/kotlin/dev/inmo/jsuikit/elements/Nav.kt index e78f317..0f083b7 100644 --- a/src/jsMain/kotlin/dev/inmo/jsuikit/elements/Nav.kt +++ b/src/jsMain/kotlin/dev/inmo/jsuikit/elements/Nav.kt @@ -103,7 +103,7 @@ fun Nav( duration: Milliseconds? = null, besidesTitleAndList: ContentBuilder? = null, titleCustomizer: AttrBuilderContext = {}, - afterTitleBuilder: ContentBuilder = {}, + afterTitleContentBuilder: ContentBuilder = {}, ulCustomizer: AttrBuilderContext = {}, elementAllocator: @Composable ElementScope.(T) -> Unit ) { @@ -124,7 +124,7 @@ fun Nav( title, *titleModifiers, attributesCustomizer = titleCustomizer, - afterTitleContentBuilder = afterTitleBuilder + afterTitleContentBuilder = afterTitleContentBuilder ) } besidesTitleAndList ?.let { it() } @@ -146,7 +146,7 @@ fun DefaultNav( duration: Milliseconds? = null, besidesTitleAndList: ContentBuilder? = null, titleCustomizer: AttrBuilderContext = {}, - afterTitleBuilder: ContentBuilder = {}, + afterTitleContentBuilder: ContentBuilder = {}, ulCustomizer: AttrBuilderContext = {}, elementAllocator: @Composable ElementScope.(T) -> Unit ) = Nav( @@ -160,7 +160,7 @@ fun DefaultNav( duration, besidesTitleAndList, titleCustomizer, - afterTitleBuilder, + afterTitleContentBuilder, ulCustomizer, elementAllocator ) @@ -177,7 +177,7 @@ fun PrimaryNav( duration: Milliseconds? = null, besidesTitleAndList: ContentBuilder? = null, titleCustomizer: AttrBuilderContext = {}, - afterTitleBuilder: ContentBuilder = {}, + afterTitleContentBuilder: ContentBuilder = {}, ulCustomizer: AttrBuilderContext = {}, elementAllocator: @Composable ElementScope.(T) -> Unit ) = Nav( @@ -191,7 +191,7 @@ fun PrimaryNav( duration, besidesTitleAndList, titleCustomizer, - afterTitleBuilder, + afterTitleContentBuilder, ulCustomizer, elementAllocator ) @@ -208,7 +208,7 @@ fun SubNav( duration: Milliseconds? = null, besidesTitleAndList: ContentBuilder? = null, titleCustomizer: AttrBuilderContext = {}, - afterTitleBuilder: ContentBuilder = {}, + afterTitleContentBuilder: ContentBuilder = {}, ulCustomizer: AttrBuilderContext = {}, elementAllocator: @Composable ElementScope.(T) -> Unit ) = Nav( @@ -222,7 +222,7 @@ fun SubNav( duration, besidesTitleAndList, titleCustomizer, - afterTitleBuilder, + afterTitleContentBuilder, ulCustomizer, elementAllocator )