teodor-new-chat-ui 1.1.2 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4,6 +4,7 @@ interface ChatInterfaceProps {
|
|
|
4
4
|
autoFocus?: boolean;
|
|
5
5
|
showBranches?: boolean;
|
|
6
6
|
maxHeight?: string;
|
|
7
|
+
enableInputFieldEditing?: boolean;
|
|
7
8
|
}
|
|
8
|
-
export declare function ChatInterface({ className, placeholder, autoFocus, showBranches, maxHeight }: ChatInterfaceProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare function ChatInterface({ className, placeholder, autoFocus, showBranches, maxHeight, enableInputFieldEditing }: ChatInterfaceProps): import("react/jsx-runtime").JSX.Element;
|
|
9
10
|
export {};
|
|
@@ -2,7 +2,7 @@ import { Message } from './ChatProvider';
|
|
|
2
2
|
interface MessageComponentProps {
|
|
3
3
|
message: Message;
|
|
4
4
|
onRegenerate?: (message: Message) => void;
|
|
5
|
-
onEditMessage?: (message: Message, newContent: string, rerun?: boolean) => void;
|
|
5
|
+
onEditMessage?: (message: Message, newContent: string, rerun?: boolean, editInInput?: boolean) => void;
|
|
6
6
|
showRegenerate?: boolean;
|
|
7
7
|
}
|
|
8
8
|
export declare function MessageComponent({ message, onRegenerate, onEditMessage, showRegenerate }: MessageComponentProps): import("react/jsx-runtime").JSX.Element;
|