import classNames from "classnames"; import { useC, I18nText } from "./common"; import { LoadingButton } from "./button"; import "./SearchInput.css"; interface SearchInputProps { value: string; onChange: (value: string) => void; onButtonClick: () => void; loading?: boolean; className?: string; buttonText?: I18nText; } export default function SearchInput({ value, onChange, onButtonClick, loading, className, buttonText, }: SearchInputProps) { const c = useC(); return (