Skip to main content
Version: 0.16.0

Type Alias: RenderApproval

type RenderApproval = (prompt) => ReactNode;

Defined in: tui/ink/SessionView.tsx:34

Replaces the default preview (title and lines) of an approval panel; the choices stay.

Parameters​

ParameterType
promptApprovalPrompt

Returns​

ReactNode