gpt-researcher-ui
Version:
GPT Researcher frontend as a React component
13 lines (12 loc) • 389 B
TypeScript
import React, { FC } from "react";
type TInputAreaProps = {
promptValue: string;
setPromptValue: React.Dispatch<React.SetStateAction<string>>;
handleSubmit: (query: string) => void;
handleSecondary?: (query: string) => void;
disabled?: boolean;
reset?: () => void;
isStopped?: boolean;
};
declare const InputArea: FC<TInputAreaProps>;
export default InputArea;