From fa41022df5aa5a2608b19c5da85b4c52aee9c2b8 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Fri, 25 Mar 2022 17:13:50 +0600 Subject: [PATCH] use iterables in navs --- src/jsMain/kotlin/dev/inmo/jsuikit/elements/Nav.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/jsMain/kotlin/dev/inmo/jsuikit/elements/Nav.kt b/src/jsMain/kotlin/dev/inmo/jsuikit/elements/Nav.kt index 6c048c7..518c99c 100644 --- a/src/jsMain/kotlin/dev/inmo/jsuikit/elements/Nav.kt +++ b/src/jsMain/kotlin/dev/inmo/jsuikit/elements/Nav.kt @@ -95,7 +95,7 @@ fun SubNav( @Composable fun Nav( title: String, - data: SnapshotStateList, + data: Iterable, vararg ulModifiers: UIKitModifier, titleModifiers: Array = emptyArray(), multiple: Boolean? = null, @@ -134,7 +134,7 @@ fun Nav( @Composable fun DefaultNav( title: String, - data: SnapshotStateList, + data: Iterable, vararg ulModifiers: UIKitModifier, titleModifiers: Array = emptyArray(), multiple: Boolean? = null, @@ -163,7 +163,7 @@ fun DefaultNav( @Composable fun PrimaryNav( title: String, - data: SnapshotStateList, + data: Iterable, vararg ulModifiers: UIKitModifier, titleModifiers: Array = emptyArray(), multiple: Boolean? = null, @@ -192,7 +192,7 @@ fun PrimaryNav( @Composable fun SubNav( title: String, - data: SnapshotStateList, + data: Iterable, vararg ulModifiers: UIKitModifier, titleModifiers: Array = emptyArray(), multiple: Boolean? = null,