AppChip

fun AppChip(modifier: Modifier = Modifier, label: String, isSelected: Boolean = false, hasDropDown: Boolean = false, dropDownOptions: List<String>? = null, onOptionSelected: (String) -> Unit = {}, onClick: () -> Unit)

A specialized chip component for the Design System.

Parameters

modifier

The Modifier to be applied to the chip.

label

The text to be displayed.

isSelected

Whether the chip is selected.

hasDropDown

Whether to show a dropdown icon.

dropDownOptions

List of options to show in the dropdown menu.

onOptionSelected

Callback invoked when a dropdown option is selected.

onClick

Callback when the chip is clicked.