PopupBase

fun PopupBase(state: UseCaseState = rememberUseCaseState(true), alignment: Alignment = Alignment.TopStart, offset: IntOffset = IntOffset(0, 0), properties: PopupProperties = PopupProperties(), content: @Composable () -> Unit)

Base component for a popup.

Parameters

state

The state of the sheet.

onPopupClick

Listener that is invoked when the popup was clicked.

alignment

Alignment of the popup relative to the anchor.

offset

Offset of the popup relative to the anchor.

properties

PopupProperties for further customization of this popup's behavior.

content

The content to be displayed inside the dialog.