Remove Item Button

fun RemoveItemButton(removeAction: () -> Unit, color: Color = MaterialTheme.colorScheme.error)

Custom button used to remove the item from collections or teams

Parameters

removeAction

The action to execute to remove that item

color

The color of the representative icon of the action