GroupActions

fun GroupActions(viewModel: GroupManagerViewModel, projectsOnDismissAction: () -> Unit? = null, userCanAddProjects: Boolean = true, membersOnDismissAction: () -> Unit? = null, userCanAddMembers: Boolean = true)

The actions can be executed on a group such add members or share projects

Parameters

viewModel

The support viewmodel of the screen

projectsOnDismissAction

The action to execute when the sharing of the projects ends

userCanAddProjects

Whether the current user can add projects to the group

membersOnDismissAction

The action when the addition of the members ends

userCanAddMembers

Whether the user can add new members to the group