askeroo
Version:
A modern CLI prompt library with flow control, history navigation, and conditional prompts
17 lines • 833 B
TypeScript
import React from "react";
import { PromptNode, PromptTreeManager } from "../core/prompt-tree.js";
interface RecursiveGroupContainerProps {
item: PromptNode;
treeManager: PromptTreeManager;
onSubmit?: (value: any) => void;
onBack?: () => void;
onComplete?: (promptId: string) => void;
onHintChange?: (hint: React.ReactNode) => void;
hintText?: React.ReactNode;
showOnlyActiveAndCompleted?: boolean;
isFrozen?: boolean;
hintsByPromptId?: Map<string, React.ReactNode>;
}
export declare function RecursiveGroupContainer({ item, treeManager, onSubmit, onBack, onComplete, onHintChange, hintText, showOnlyActiveAndCompleted, isFrozen, hintsByPromptId, }: RecursiveGroupContainerProps): import("react/jsx-runtime").JSX.Element | null;
export {};
//# sourceMappingURL=RecursiveGroupContainer.d.ts.map