UNPKG

@manojadams/metaforms

Version:
20 lines (19 loc) 714 B
/// <reference types="react" /> import { IElementTypes } from "../../constants/common-interface"; import { IField, ISchema, ITheme } from "../../constants/model-interfaces"; declare const DefaultForm: (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 DefaultForm;