Skip to content

Home > @liquidrazor/list-display > CustomModalConfig

CustomModalConfig interface

Configuration for a user-supplied modal renderer, allowing bespoke flows while still participating in the ListDisplay action lifecycle.

Signature:

typescript
export interface CustomModalConfig<TRow = any, TRowId = string | number>

Properties

Property

Modifiers

Type

Description

render

(ctx: CustomModalRenderContext<TRow, TRowId>) => ReactNode

Render function that returns any React node to display. The provided context contains helpers to close or submit the modal.

type

"custom"

Discriminator indicating a custom modal.