Skip to content

Home > @liquidrazor/list-display > ConfirmModalConfig

ConfirmModalConfig interface

Configuration for the built-in confirmation modal used by actions that need a simple yes/no flow.

Signature:

typescript
export interface ConfirmModalConfig

Properties

Property

Modifiers

Type

Description

cancelLabel?

string

(Optional) Label for the cancel button. Defaults are provided by the UI layer.

confirmLabel?

string

(Optional) Label for the confirm button. Defaults are provided by the UI layer.

description?

ReactNode

(Optional) Optional descriptive text rendered under the title.

title

string

Title displayed at the top of the modal.

type

"confirm"

Discriminator indicating a confirm modal.