Attach Link

fun AttachLink(state: SheetState, scope: CoroutineScope, viewModel: LinksScreenViewModel, link: RefyLink.RefyLinkImpl)

Component used to attach, so share, the link in collections or in teams

Parameters

state

The state useful to manage the visibility of the ModalBottomSheet

scope

The coroutine useful to manage the visibility of the ModalBottomSheet

viewModel

The support viewmodel for the screen

link

The link to share