Delete Item Button

@Composable
fun DeleteItemButton(show: MutableState<Boolean>, deleteAction: @Composable () -> Unit, tint: Color = MaterialTheme.colorScheme.error)

Function to create a button to delete an item

Parameters

show

: whether show the warn EquinoxAlertDialog about the item deletion

deleteAction

: the action to execute to delete the item

tint

: the tint for the OptionButton