feat(react/settings): port LLM settings

This commit is contained in:
Elian Doran
2025-08-19 13:46:13 +03:00
parent 018a6cb84a
commit 04973094f2
11 changed files with 284 additions and 787 deletions

View File

@@ -0,0 +1,15 @@
interface FormTextAreaProps {
currentValue: string;
onBlur?(newValue: string): void;
rows: number;
}
export default function FormTextArea({ onBlur, rows, currentValue }: FormTextAreaProps) {
return (
<textarea
rows={rows}
onBlur={(e) => {
onBlur?.(e.currentTarget.value);
}}
>{currentValue}</textarea>
)
}