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)

Constructors

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)

Properties

Link copied to clipboard
val items: List<T>
Link copied to clipboard
val onChange: (List<T>) -> Unit
Link copied to clipboard
val renderAdd: FlowContent.(ListFieldComponent.AddCtx<T>) -> Unit
Link copied to clipboard