TagEditor

fun TagEditor(tags: List<String>, onAddTag: (String) -> Unit, onRemoveTag: (String) -> Unit, modifier: Modifier = Modifier)

Allows users to add and remove tags.

Displays existing tags as removable chips.

Parameters

tags

The current list of tags.

onAddTag

Callback for adding a tag.

onRemoveTag

Callback for removing a tag.

modifier

Customizes the editor's layout.