import { type ReactElement } from 'react'; import { type TextFieldProps } from '../TextField'; export type InputComponentProps = Omit; export type SearchFieldProps = Omit & { value?: string | null; defaultValue?: string; /** * Позволяет отображать кастомный Input */ inputComponent?: (props: InputComponentProps) => ReactElement; /** * Если true, будет отображаться лоадер в конце инпута */ isLoading?: boolean; };