Skip to content

Home > @liquidrazor/list-display > ModalOutletProps

ModalOutletProps interface

Props forwarded to the modal outlet slot which orchestrates confirmation or custom modals associated with actions.

Signature:

typescript
export interface ModalOutletProps

Properties

Property

Modifiers

Type

Description

generalActions?

Array<GeneralAction<any, any>>

(Optional) General list actions that may open a modal.

onCancel

() => void

Callback when the active modal flow is cancelled.

onConfirm

(payload?: unknown) => void | Promise<void>

Callback when the active modal flow is confirmed.

rowActions?

Array<RowAction<any, any>>

(Optional) Row-specific actions that may open a modal.

state

ListState<any>

Current list state, including modal metadata.