teodor-new-chat-ui 4.3.465 → 4.3.466
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.
|
@@ -14,6 +14,7 @@ export interface ChatInputProps {
|
|
|
14
14
|
className?: string;
|
|
15
15
|
textareaClassName?: string;
|
|
16
16
|
allowEmptySend?: boolean;
|
|
17
|
+
sendButtonClassName?: string;
|
|
17
18
|
validate?: (text: string) => string | null;
|
|
18
19
|
onValidationError?: (error: string | null) => void;
|
|
19
20
|
}
|
|
@@ -28,6 +29,6 @@ export interface ChatInputProps {
|
|
|
28
29
|
* Usage:
|
|
29
30
|
* <ChatInput onSend={handleSend} initialValue={editingText} editingMessageId={editingId} onCancelEdit={cancelEditing} />
|
|
30
31
|
*/
|
|
31
|
-
export declare function ChatInput({ initialValue, editingMessageId, placeholder, isStreaming, disabled, maxLength, value: controlledValue, onValueChange, onSend, onCancelEdit, onStop, className, textareaClassName, allowEmptySend, validate, onValidationError, }: ChatInputProps): import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
export declare function ChatInput({ initialValue, editingMessageId, placeholder, isStreaming, disabled, maxLength, value: controlledValue, onValueChange, onSend, onCancelEdit, onStop, className, textareaClassName, allowEmptySend, sendButtonClassName, validate, onValidationError, }: ChatInputProps): import("react/jsx-runtime").JSX.Element;
|
|
32
33
|
declare const _default: React.MemoExoticComponent<typeof ChatInput>;
|
|
33
34
|
export default _default;
|