Appearance
Home > @liquidrazor/list-display > CustomModalRenderContext
CustomModalRenderContext interface
Context provided to a custom modal renderer. Extends general context and optionally carries row info.
Signature:
typescript
export interface CustomModalRenderContext<TRow = any, TRowId = string | number> extends GeneralActionContext<TRow, TRowId>Extends: GeneralActionContext<TRow, TRowId>
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
() => void | Close the modal without necessarily performing the action. | ||
TRow | (Optional) | ||
number | (Optional) | ||
(payload?: unknown) => void | Complete the modal interaction and optionally pass a payload to the action handler. |