rms-react
Version:
Библиотека React компонентов разработанная по дизайн системе РМ Солюшн
17 lines • 711 B
TypeScript
import React from 'react';
import { TextFieldProps } from '../TextField';
export interface AutoCompleteFieldSuggestion {
value: unknown;
as?: string;
}
export interface AutoCompleteFieldProps extends TextFieldProps {
isNotFoundActionActive?: boolean;
notFoundText?: string;
notFoundButtonText?: string;
notFoundButtonIcon?: React.FunctionComponent<React.SVGProps<SVGSVGElement>>;
onNotFoundButtonClick?: (evt: React.MouseEvent) => void;
textFieldClassName?: string;
suggestions: AutoCompleteFieldSuggestion[];
onSuggestionSelect: (suggestion: AutoCompleteFieldSuggestion, evt: React.SyntheticEvent | Event) => void;
}
//# sourceMappingURL=AutoCompleteField.props.d.ts.map