Repository URL to install this package:
|
Version:
4.0.76 ▾
|
import { ObserverForm, FormState } from 'src/forms';
import { SearchInputProps } from '../typings';
declare class FormStateCard extends FormState {
inputsList: {
identity: string;
name: string;
type: string;
value: string;
className: string;
validationType: string;
ariaLabel: string;
animatePlaceholder: boolean;
dataQa: string;
icon: {
breedType: string;
fill: string;
stroke: string;
width: string;
height: string;
className: string;
};
}[];
}
declare class Form extends ObserverForm<SearchInputProps> {
constructor(props: any);
isSubmitButtonNeeded: boolean;
static defaultProps: {
state: FormStateCard;
};
handleSearch: () => void;
onInputInit: (inputState: any) => void;
componentWillMount(): void;
onSubmit: (event: Event) => void;
}
export { Form };
export default Form;