CantEatListItem

fun CantEatListItem(cantEat: CantEat, onSave: (CantEat) -> Unit, onDelete: (CantEat) -> Unit)

Composable function for displaying a list item for a CantEat object. It provides options for editing, saving, and deleting the CantEat object.

Parameters

cantEat

The CantEat object to display.

onSave

The function to be invoked when the save button is clicked. It takes the updated CantEat object as a parameter.

onDelete

The function to be invoked when the delete button is clicked. It takes the CantEat object to be deleted as a parameter.