Delete
Team
fun DeleteTeam(show: MutableState<Boolean>, teamsManager: TeamsManager, team: Team, onDelete: () -> Unit)
Custom EquinoxAlertDialog used to warn the user about the deletion of a Team
Parameters
show
Whether the dialog is shown
teams Manager
The manager of the teams list data
team
The team to delete
on Delete
The action to execute when the team has been deleted