Rachel
Toggle table of contents
3.5.0
common
Target filter
common
Switch theme
Search in API
Skip to content
Rachel
love.yinlin.compose.ui
/
love.yinlin.compose.ui.container
/
AdderBox
Adder
Box
@
Composable
fun
<
T
>
AdderBox
(
maxNum
:
Int
,
items
:
List
<
T
>
,
modifier
:
Modifier
=
Modifier
,
size
:
Dp
=
Theme.size.cell9
,
shape
:
Shape
=
Theme.shape.v7
,
onAdd
:
(
)
->
Unit
=
{}
,
onReplace
:
(
Int
,
T
)
->
Unit
=
{ _, _ -> }
,
onDelete
:
(
Int
,
T
)
->
Unit
=
{ _, _ -> }
,
content
:
@
Composable
(
Int
,
T
)
->
Unit
)