@manojadams/metaforms
Version:
Meta-data driven forms
20 lines (19 loc) • 714 B
TypeScript
/// <reference types="react" />
import { IElementTypes } from "../../constants/common-interface";
import { IField, ISchema, ITheme } from "../../constants/model-interfaces";
declare const SectionForm: (props: IProps) => JSX.Element;
interface IProps {
schema: ISchema;
validated: boolean;
form: any;
formButtons: Array<IField>;
buttons?: IElementTypes;
theme: ITheme;
hasSection: boolean;
handleCustom: (e: any, field: IField) => void;
handleSubmit: (e: any, field: IField) => void;
handleReset: (e: any, field: IField) => void;
handleNext: (e: any, field: IField, callback: any) => void;
handlePrevious: () => void;
}
export default SectionForm;