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

teamsManager

The manager of the teams list data

team

The team to delete

onDelete

The action to execute when the team has been deleted