@catho/quantum
Version:
Catho react components
22 lines (21 loc) • 495 B
TypeScript
import { FC } from 'react';
export interface AutoCompleteProps {
theme?: {
colors?: object;
spacing?: object;
};
suggestions: Array<string>;
id?: string;
name?: string;
label?: string;
value?: string;
helperText?: string;
error?: string;
disabled?: boolean;
minlength?: string;
placeholder?: string;
onChange?: (value: string) => void;
onSelectedItem?: (item: string) => void;
}
declare const AutoComplete: FC<AutoCompleteProps>;
export default AutoComplete;