core
0.3.1
core
/
de.peekandpoke.kraft.addons.forms.collections
/
ListFieldComponent
/
Props
Props
data
class
Props
<
T
>
(
val
items
:
List
<
T
>
,
val
onChange
:
(
List
<
T
>
)
->
Unit
,
val
renderItem
:
FlowContent
.
(
ListFieldComponent.ItemCtx
<
T
>
)
->
Unit
,
val
renderAdd
:
FlowContent
.
(
ListFieldComponent.AddCtx
<
T
>
)
->
Unit
)
Content copied to clipboard
Constructors
Properties
Constructors
Props
Link copied to clipboard
fun
<
T
>
Props
(
items
:
List
<
T
>
,
onChange
:
(
List
<
T
>
)
->
Unit
,
renderItem
:
FlowContent
.
(
ListFieldComponent.ItemCtx
<
T
>
)
->
Unit
,
renderAdd
:
FlowContent
.
(
ListFieldComponent.AddCtx
<
T
>
)
->
Unit
)
Content copied to clipboard
Properties
items
Link copied to clipboard
val
items
:
List
<
T
>
Content copied to clipboard
onChange
Link copied to clipboard
val
onChange
:
(
List
<
T
>
)
->
Unit
Content copied to clipboard
renderAdd
Link copied to clipboard
val
renderAdd
:
FlowContent
.
(
ListFieldComponent.AddCtx
<
T
>
)
->
Unit
Content copied to clipboard
renderItem
Link copied to clipboard
val
renderItem
:
FlowContent
.
(
ListFieldComponent.ItemCtx
<
T
>
)
->
Unit
Content copied to clipboard