askeroo
Version:
A modern CLI prompt library with flow control, history navigation, and conditional prompts
19 lines • 561 B
TypeScript
import React from "react";
interface TextInputProps {
value: string;
onChange: (value: string) => void;
onSubmit?: (value: string) => void;
cursorPosition?: number;
onCursorPositionChange?: (position: number) => void;
isActive: boolean;
color?: string;
placeholder?: string;
onEscape?: () => void;
onUpArrow?: () => void;
onDownArrow?: () => void;
disableArrowKeys?: boolean;
onShiftF?: () => void;
}
export declare const TextInput: React.FC<TextInputProps>;
export {};
//# sourceMappingURL=TextInput.d.ts.map