Skip to main content
Version: 0.13.0

Type Alias: RenderApproval

type RenderApproval = (prompt) => ReactNode;

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

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

Parameters​

ParameterType
promptApprovalPrompt

Returns​

ReactNode