ChipTextFieldItem

fun ChipTextFieldItem(modifier: Modifier = Modifier, type: ExtraType? = null, text: String, overflow: TextOverflow = TextOverflow.Clip, shape: Shape = RoundedCornerShape(4.dp), innerPadding: PaddingValues = PaddingValues(vertical = 1.dp, horizontal = 2.dp), maxLines: Int = Int.MAX_VALUE, showDeleteIcon: Boolean = false, onDeleteClick: () -> Unit = {}, onItemClick: () -> Unit = {})(source)

Renders the ChipTextFieldItem UI for the SDAI presentation layer.

Author

Dmitriy Moroz

Parameters

modifier

Compose modifier applied to the rendered UI.

type

type value consumed by the API.

text

text value consumed by the API.

overflow

overflow value consumed by the API.

shape

shape value consumed by the API.

innerPadding

inner padding value consumed by the API.

maxLines

max lines value consumed by the API.

showDeleteIcon

show delete icon value consumed by the API.

onDeleteClick

callback invoked by the component.

onItemClick

callback invoked by the component.