SourceMultiSelectChip

fun SourceMultiSelectChip(text: String, isSelected: Boolean, size: SourceChip.Size, showBadge: Boolean, onClick: () -> Unit, modifier: Modifier = Modifier, style: SourceChip.Style = SourceChip.Style.Default, onClickLabel: String? = null, iconOrImage: ChipDecoration = ChipDecoration.None)

Multi-select version of the SourceChip component. This chip is designed to be used in a row of chips where multiple chips can be selected at once. When isSelected is true, a check icon will be displayed after the title.

Parameters

text

The text displayed inside the chip.

isSelected

Whether the chip is selected.

size

The size of the chip. See SourceChip.Size for available options.

showBadge

Whether to display a badge on the chip. If true, the badge will be displayed with the colour defined in style.

onClick

Callback triggered when the chip is clicked.

modifier

Modifier to adjust the chip layout or appearance.

style

The style of the chip, including content colour, background colour, border, and more. See SourceChip.Style. Defaults to SourceChip.Style.Default.

onClickLabel

Optional label for the onClick action.

iconOrImage

Optional content to display an icon/image before the title.