Delete Team Button

@Composable
open fun DeleteTeamButton(goBack: Boolean, viewModel: TeamViewModelHelper, deleteTeam: MutableState<Boolean>, team: Team, tint: Color)

Function to delete a team

Parameters

goBack

: whether after the action execute needs to navigation back

viewModel

: the view model used to execute this operation

deleteTeam

: whether show the warn EquinoxAlertDialog about the team deletion

team

: the team to delete

tint

: the tint for the OptionButton