import { useComposedInputValue } from "@tutti-os/ui-react-hooks"; import { Input } from "@tutti-os/ui-system"; import { type KeyboardEvent as ReactKeyboardEvent } from "react"; import { CloseLinedIcon } from "../../app/renderer/components/icons/CloseLinedIcon"; import { useTranslation } from "../../i18n/index"; import styles from "./RoomIssueNode.styles"; interface TaskSearchFieldProps { ariaLabel?: string; className?: string; clearAriaLabel?: string; dataTestId?: string; onChange: (value: string) => void; onSubmit?: () => void; placeholder: string; value: string; } export function TaskSearchField({ ariaLabel, className, clearAriaLabel, dataTestId, onChange, onSubmit, placeholder, value }: TaskSearchFieldProps) { "use memo"; const { t } = useTranslation(); const searchInput = useComposedInputValue({ onCommit: onChange, value }); return (