Repository URL to install this package:
|
Version:
2.3.8 ▾
|
import { FormState, ObserverForm } from 'src/forms';
import { CommentBoxProps } from '../typings';
declare class FormStateCard extends FormState {
inputsList: {
identity: string;
type: string;
name: string;
value: string;
className: string;
wrapperClassName: string;
validationType: string;
}[];
}
declare const SubmitButtonComponent: (props: any) => JSX.Element;
declare const CancelButtonComponent: (props: any) => JSX.Element;
declare class Form extends ObserverForm<CommentBoxProps> {
static FormState: FormStateCard;
isCancelButtonNeeded: boolean;
SubmitButton: (props: any) => JSX.Element;
CancelButton: (props: any) => JSX.Element;
static defaultProps: {
state: FormStateCard;
};
componentWillUpdate(): void;
handleSubmit: (event: Event) => void;
handleCancel: (event: Event) => void;
}
export { Form, SubmitButtonComponent, CancelButtonComponent };
export default Form;