import { forwardRef, type InputHTMLAttributes, type ReactNode } from "react"; import { useTranslation } from "react-i18next"; import { SearchIcon } from "lucide-react"; import { cn } from "@/lib/cn"; type Props = InputHTMLAttributes & { iconSize?: number; shortcut?: ReactNode; }; export const SearchInput = forwardRef(function SearchInput( { iconSize = 16, className, disabled, shortcut, "aria-label": ariaLabel, ...props }, ref, ) { const { t } = useTranslation(); return ( {shortcut && ( {shortcut} )} ); });