feat(react/settings): port search engine settings

This commit is contained in:
Elian Doran
2025-08-18 18:43:27 +03:00
parent f934318625
commit 07713e988c
3 changed files with 56 additions and 86 deletions

View File

@@ -3,7 +3,7 @@ import type { InputHTMLAttributes, RefObject } from "preact/compat";
interface FormTextBoxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "onChange" | "value"> {
id?: string;
currentValue?: string;
onChange?(newValue: string, validity: ValidityState): void | false;
onChange?(newValue: string, validity: ValidityState): void;
inputRef?: RefObject<HTMLInputElement>;
}