mirror of
https://github.com/InsanusMokrassar/JSUIKitKBindings.git
synced 2024-12-22 08:37:24 +00:00
use iterables in navs
This commit is contained in:
parent
04a94cfabe
commit
fa41022df5
@ -95,7 +95,7 @@ fun SubNav(
|
|||||||
@Composable
|
@Composable
|
||||||
fun <T> Nav(
|
fun <T> Nav(
|
||||||
title: String,
|
title: String,
|
||||||
data: SnapshotStateList<T>,
|
data: Iterable<T>,
|
||||||
vararg ulModifiers: UIKitModifier,
|
vararg ulModifiers: UIKitModifier,
|
||||||
titleModifiers: Array<UIKitModifier> = emptyArray(),
|
titleModifiers: Array<UIKitModifier> = emptyArray(),
|
||||||
multiple: Boolean? = null,
|
multiple: Boolean? = null,
|
||||||
@ -134,7 +134,7 @@ fun <T> Nav(
|
|||||||
@Composable
|
@Composable
|
||||||
fun <T> DefaultNav(
|
fun <T> DefaultNav(
|
||||||
title: String,
|
title: String,
|
||||||
data: SnapshotStateList<T>,
|
data: Iterable<T>,
|
||||||
vararg ulModifiers: UIKitModifier,
|
vararg ulModifiers: UIKitModifier,
|
||||||
titleModifiers: Array<UIKitModifier> = emptyArray(),
|
titleModifiers: Array<UIKitModifier> = emptyArray(),
|
||||||
multiple: Boolean? = null,
|
multiple: Boolean? = null,
|
||||||
@ -163,7 +163,7 @@ fun <T> DefaultNav(
|
|||||||
@Composable
|
@Composable
|
||||||
fun <T> PrimaryNav(
|
fun <T> PrimaryNav(
|
||||||
title: String,
|
title: String,
|
||||||
data: SnapshotStateList<T>,
|
data: Iterable<T>,
|
||||||
vararg ulModifiers: UIKitModifier,
|
vararg ulModifiers: UIKitModifier,
|
||||||
titleModifiers: Array<UIKitModifier> = emptyArray(),
|
titleModifiers: Array<UIKitModifier> = emptyArray(),
|
||||||
multiple: Boolean? = null,
|
multiple: Boolean? = null,
|
||||||
@ -192,7 +192,7 @@ fun <T> PrimaryNav(
|
|||||||
@Composable
|
@Composable
|
||||||
fun <T> SubNav(
|
fun <T> SubNav(
|
||||||
title: String,
|
title: String,
|
||||||
data: SnapshotStateList<T>,
|
data: Iterable<T>,
|
||||||
vararg ulModifiers: UIKitModifier,
|
vararg ulModifiers: UIKitModifier,
|
||||||
titleModifiers: Array<UIKitModifier> = emptyArray(),
|
titleModifiers: Array<UIKitModifier> = emptyArray(),
|
||||||
multiple: Boolean? = null,
|
multiple: Boolean? = null,
|
||||||
|
Loading…
Reference in New Issue
Block a user