import { forwardRef, type InputHTMLAttributes } from "react"; export interface SearchInputProps extends Omit, "type"> { /** Wird links im Suchfeld angezeigt, z. B. ein Tastaturkürzel-Hinweis. */ hint?: string; } /** * Zentrales Sucheingabefeld im Raycast/Spotlight-Stil. * Bewusst schlicht gehalten: großer Text, viel Weißraum, keine Ablenkung. */ export const SearchInput = forwardRef( ({ hint, className = "", ...props }, ref) => { return (
{hint ? ( {hint} ) : null}
); } ); SearchInput.displayName = "SearchInput";